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

Compare with Current View Page History

« Previous Version 29 Next »

Using the Language Labels panel, you can manage the labels that appear in XperienCentral for all your channels. This includes labels that appear in content elements and all informational and error messages for all the languages supported by your website. You can also copy all labels from a language and then create support for a new language.


See 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:



 

For each supported language, the following properties are shown:

PropertyDescription
OrderIn 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. To change the order, select a new number for the language(s) and then click [Apply].
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.
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




Configuring the Default Language


The following applies to XperienCentral versions R31 and higher.


In XperienCentral, the default language is the language that is selected in the Language Widget each time you start a new XperienCentral session. All content items that you create in XperienCentral are created in the default language if you do not switch languages in the Language Widget. The default language in XperienCentral is also used when a developer creates content using the Java API without explicitly specifying a language.

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





In the example above, Dutch is assigned the number "1" in the list which means it's the default language.

To change the default 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 need to ensure that no numbers are skipped or doubled. In the example below, the list has been modified to make English the default language, therefore "2" was changed to "1" and the ranking for Dutch was changed from "1" to "2":




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















Back to top


Modifying a Language Label

To modify a language label, expand the section containing it 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":


 


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

 

Perform these steps for all labels that you want to modify for the selected language. 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