Adding a language

Hi,

How do I add a language to the CMS to be available as a document language?

I've added the language code to the Language LOV and I've added a languagepath to the translation settings, e.g.:

<languagepath from="en-US" to="de-DE"/>

But, if I try to add it as a language for an object, it appears in the list as:

VLANGUAGEDE-DE

Kendall

  • Hi Kendall,
    We would need some context on where the "VLANGUAGEDE-DE" appears. LOV's are stored as key value pairs in the back end. If you added it to the LOV, the key would be the "VLANGUGAGEDE-DE" and the label is "de-DE". Is the xml:lang correct in xml on creation?
  • There is no German language level object yet. This is in publication manager, where it is one of the requested languages (FREQUESTEDLANGUAGES was set to "en-US, de-DE", but it appears as VLANGUAGEDE-DE in the list of languages to select from).

  • Well, this seems odd. If I use the web service API to create the value, it shows up as expected in the list of requested languages.

    So, adding Label "de-DE" and description "German (Germany)" in the web client, caused this to appear in the list of languages to select from in "requested languages" in publication manager as:

    en-US
    ja-JP
    VLANGUAGEDE-DE
    zh-CH

    But, using the API, either as:

    string id = "";
    client.CreateValue2("DLANGUAGE", ref id, "de-DE", "German (Germany)");

    or as:

    string id = "VLANGUAGEDE";
    client.CreateValue2("DLANGUAGE", ref id, "de-DE", "German (Germany)");

    The result was:

    en-US
    de-DE

    ja-JP
    zh-CH