none
Localize custom field names RRS feed

  • Question

  • Hi

    Is there a way to specify different language names for a Enterprise Custom Field? I've been searching for several days now, and the only thing I have found is the multi language lookup table methods in the PSI, which is one step short of what I need. So if the user's language is set to English, show the english name, and if it's Arabic, show the Arabic name.

    I've looked through the SDK, and there is no option for the custom field to specify anything like that. I don't know if it's possible with .resx files, that doesn't seem to work, but I might be doing something completely wrong.

    Project Server version is 2010, I think the server has the latest cumulative update, or at least to the second last one.

    Any help would be greatly appreciated.

    Tuesday, February 22, 2011 11:13 AM

Answers

  • This won't be too helpful, but I've seen the PDP field names modified with
    a custom webpart.  It wouldn't be too hard to tie that to some sort of filter
    that determines the user's region I suppose.
     
    A cruder method would be to simply create 1 field for Language A and 1 identical
    field for Language B.  Create different EPT, one for each language.  Then
    create a third field which will concatenate the first two fields: =IIF([FldLangA]="",[FldLangB],[FldLangA]).
     For each original PDP, create one for Language A and one for Language B.
     
     

    Andrew Lavinsky [MVP] Twitter: @alavinsky
    • Marked as answer by MandarbRSA Tuesday, February 22, 2011 2:37 PM
    Tuesday, February 22, 2011 2:16 PM
    Moderator

All replies

  • Which interface would you like to localize?  If the Project Center views,
    just create different views and assign them to categories based on region.
     Within each view, you can change the name of the column header.
     
    Enterprise Global would be the same - although you wouldn't be able to security
    trim the views and everyone would see all of the views.
     
     

    Andrew Lavinsky [MVP] Twitter: @alavinsky
    Tuesday, February 22, 2011 2:00 PM
    Moderator
  • Well, at the moment my biggest problem is in the PDPs. I'm using the Project Fields web part to display fields and get information in a workflow. I need the fields there to change according to the user's display language.
    Tuesday, February 22, 2011 2:08 PM
  • This won't be too helpful, but I've seen the PDP field names modified with
    a custom webpart.  It wouldn't be too hard to tie that to some sort of filter
    that determines the user's region I suppose.
     
    A cruder method would be to simply create 1 field for Language A and 1 identical
    field for Language B.  Create different EPT, one for each language.  Then
    create a third field which will concatenate the first two fields: =IIF([FldLangA]="",[FldLangB],[FldLangA]).
     For each original PDP, create one for Language A and one for Language B.
     
     

    Andrew Lavinsky [MVP] Twitter: @alavinsky
    • Marked as answer by MandarbRSA Tuesday, February 22, 2011 2:37 PM
    Tuesday, February 22, 2011 2:16 PM
    Moderator
  • OK, so there is no easy way to do this that's already built in? I'm going to have to write my own web part to duplicate the Project Fields web part's functionality then.
    Tuesday, February 22, 2011 2:28 PM
  • Correct.  You might want to check the Solution Starters on CodePlex, but
    I don't recall one that does what you're looking for.
     
    If you're talking about consuming data, you could also finagle that with
    External Content Types.  If you want data input though, the Webpart's the
    only way I know.
     
     

    Andrew Lavinsky [MVP] Twitter: @alavinsky
    Tuesday, February 22, 2011 2:36 PM
    Moderator
  • Thank you very much Andrew.
    Tuesday, February 22, 2011 2:37 PM