You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 65 Next »

In the Language Labels panel, you manage the labels for all the available languages in XperienCentral. This includes labels that appear in content elements and all informational and error messages. You can also add new languages and set the default content language.


See also Working with Language Versions in XperienCentral for general information about maintaining multiple language versions of a channel.


To access the Language Labels panel, navigate to Configuration > Language Labels:



 

In the top of the panel, expand the "Select website" drop-down list to select the channel for which you want to configure the languages/language labels.

Language Properties

For each supported language, the following properties are shown:

PropertyDescription
Order

In the far left column, a number is assigned to each language. This affects the order that they appear in the "Select Language" drop-down list as well as the order from top to bottom in the language drop-down in a sidebar header or the Language Widget in XperienCentral versions R31 and lower. To change the order, select a new number for the language(s) and then click [Apply]. The language assigned the ranking "1" is the default content language (see below).


The ordering (ranking) of languages in the Language Labels panel is channel specific.

ActiveWhen this checkbox is selected, the language is active and available to be used in XperienCentral.
Language CodeThe internal ID of the language in XperienCentral.
Name in XperienCentralThe string that appears in drop-down lists in XperienCentral when you select the language property for a page and in the Language Widget.
MetatagvalueThe description of the language in the form locale_LOCALE based on the ISO 639 standard (en_EN for English, nl_NL for Dutch, and so forth).
Fallback

The language version to use if a content item cannot be found in the requested language. To select the fallback language, expand the drop-down list and select it.

This functionality only works if the setting "Use another language if language is not available" is selected in the General tab of Configuration > Channel Configuration. See Channel Configuration.

DeleteA checkbox for deleting a language. You can only delete a language that you have added. Because English and Dutch are the two standard languages supported in XperienCentral, they cannot be deleted.
CopyA button for copying all the language labels for a language. You use this functionality to add new languages.

In This Topic




Setting the Default Content Language for XperienCentral


The following applies to XperienCentral versions R31 and higher.


In XperienCentral, you can set any of the available languages as the default content language of the edit environment for each channel. The default content language determines the following:

  • The language drop-down in a sidebar header (or the Language Widget in XperienCentral versions R31 and lower) is set to the default content language each time you start a new XperienCentral session.
  • All content items you create are in the default content language if you do not switch languages.
  • Content created by a developer using the Java API is in the default content language if one is not explicitly specified in the code.

  • Dutch is the default language for the XperienCentral edit environment in a clean installation.
  • If you upgrade to XperienCentral R31 or later from an earlier version, check the ranking of available languages in your XperienCentral deployment as described below in order to ensure that the default content language is the one you want it to be.

The default content language can be seen at the top of the Language Labels panel in the list of available languages. The current default content language is assigned the number "1" ranking. For example:





In the example above, Dutch is ranked number "1" in the list which means it's the default content language. The ordering thereafter is the order the available languages appear in the Language Widget.


The ordering (ranking) of languages in the Language Labels panel is channel specific.


To change the default content language in XperienCentral, follow these steps:

  1. In the list of supported languages, change the ranking of the language that you want to make the default by assigning it the number "1".
  2. Modify the ranking of the other languages as needed in order to ensure that no numbers are skipped or doubled. In the example below, the list has been modified to make English the default content language, therefore "2" was changed to "1" for it and the ranking for Dutch was changed from "1" to "2":




  3. Click [Apply]. The sort order is automatically refreshed back to ascending. For example:


    In the example above, English is now set as the default content language.

Following the steps above, you can also change the ranking of the non-default content languages in order to affect the sort order from top to bottom in the Language Widget.



Back to top


Modifying a Language Label

To modify a language label, follow these steps:

  1. Select the language for which you want to modify the label(s) from the Select Language drop-down list.
  2. Expand the section containing the label(s) by clicking the plus [+] sign next to it.





    The language labels appear. On the left side of the list is the internal identifier for the language label and in the text field next to it is the current label being used for it in the current language. To modify a label, click in the field and change the text. In the example below, the string for the "Author" line in the Downloads content element is changed to "Publisher":







  3. Click [Apply]. After clicking [Apply], the label is modified. In the Editor, the label in the Download content element now appears as "Publisher":



  4. Repeat these steps for all labels that you want to modify for the selected language.
  5. Click [Apply] to submit your modifications.


Back to top


Deleting a Language Label


For XperienCentral versions 10.22.0 and earlier, GX Software strongly recommends that you do not delete any language labels whatsoever because this can lead to serious problems. This issue has been resolved in XperienCentral versions 10.22.1 and higher.


To delete a language label, follow these steps:

  1. Expand the section containing the language label you want to delete.
  2. Select the checkbox to the right of the language label in the "Delete" column.
  3. Click [Delete]. A confirmation dialog box will appear.
  4. Click [OK]. The language label is deleted.



Back to top



Copying a Language

The best way to add a new language to XperienCentral is to copy all of the labels for an existing language and then modify the labels in the copied language to the new one you want to support. To copy a language, click [Copy] next to the language. For example:



 

XperienCentral will then prompt you to provide a code for the new language. For example:



Click [Apply]. The new language will appear in the list. Enter the translation of the language's name in Dutch and English. For example:

 

Modify the labels for the new language. Once copied, the new language is available in the Language Widget. For example:


 

The new language is now also available in the default language drop-down list for a page. For example:


 

Back to top


Deleting a Language

To delete a language, follow the steps below. You can only delete a language that you have added. Because Dutch and English are the default supported languages in XperienCentral, neither of them can be deleted.


When you delete a language, all pages based on that language will also be deleted, therefore you should exercise extreme caution when performing this operation.


To delete a language:

  1. Select the checkbox for the language in the "Delete" column in the list of languages.
  2. Click [OK] to confirm the operation:





    The labels for the language are deleted.




Back to top














  • No labels