Translation Import/Export

From SmartWiki
Revision as of 12:14, 12 November 2013 by Lorena Ruiz (talk | contribs)

Jump to: navigation, search

System Administrators are able to export Custom Fields translation settings as XML files and import Custom Fields translation setting files that are XML. The Translation Import and Translation Export tabs are available within any Custom Fields Settings page.

Accessing the Translation Import/Export Tabs

  1. Go to Global Settings
    Globalsettings.PNG
  2. Under System Variables and Custom Fields, click on the hyperlink for Custom Fields
    GSCustomFields.PNG
  3. Using the left menu, select the Custom Fields you would like to translate. The associated custom fields will load within the main window once selected.
    CFSelect.PNG
  4. Above the list of custom fields you will see a language dropdown selection field. Use this to select the language you wish to add translations for.
    CFlanguage.png
  5. With a language other than English (Default) selected you will notice the Import and Export tabs have now changed to Translation Import and Translation Export. These tabs provide you the ability to export the existing field translation settings for the selected language in XML format, or import XML-formatted field translation settings.
    CFtranslate imp-exp.png

Translation XML Sample Breakdown

The following are samples of Translation XML files and how to update the data.

<customfield>
            <language>14</language>
            <id>1234567</id>
            <caption><span style="color:red">Are you a charitable organization?</span></caption>
            <captiontranslation><span style="color:red">¿Eres una organización de caridad registrada?</span></captiontranslation>
            <formatxml>
                        <audit>1</audit>
                        <maxp>0</maxp>
                        <searchable>0</searchable>
                        <wvp>,</wvp>
            </formatxml>
            <formatxmltranslation>
                        <audit>1</audit>
                        <maxp>0</maxp>
                        <searchable>0</searchable>
                        <wvp>,</wvp>
            </formatxmltranslation>
            <options>No;Yes</options>
            <optionstranslation>No;Sí</optionstranslation>
            <numberformat></numberformat>
            <numberformattranslation></numberformattranslation>
            <tabname></tabname>
            <tabnametranslation></tabnametranslation>
</customfield>

Translations for the above field are contained within the following XML tags:

  • <captiontranslation> </captiontranslation>
  • <formatxmltranslation> </formatxmltranslation>
  • <optionstranslation> </optionstranslation>
  • <numberformattranslation> </numberformattranslation>
  • <tabnametranslation> </tabnametranslation>


<language>14</language>
This tag contains the language ID.
<id>1234567</id>
This tag contains the custom field ID. This is used for matching when importing the file and must remain exactly as exported.
<captiontranslation> </captiontranslation>
These tags contain the translated caption as will be visible to the end user with the matching language ID settings.
<optionstranslation> </optionstranslation>
Should the field be a checkbox or combo field, you will be provided with this tag in which to enter the translations for the options.
<tabnametranslation></tabnametranslation>
This tag controls the translation of the tab in which the field exists.

Language IDs

ID Language
1| English
2| French (Canada)
Traditional Chinese
German
French (France)
Finnish
Vietnamese
Russian
Turkish
Italian
Spanish
Korean
Portuguese
Swedish