Difference between revisions of "Translation Import/Export"
From SmartWiki
Lorena Ruiz (talk | contribs) |
Lorena Ruiz (talk | contribs) |
||
Line 15: | Line 15: | ||
== Translation XML Samples == | == Translation XML Samples == | ||
The following are samples of Translation XML files and how to update the data. | The following are samples of Translation XML files and how to update the data. | ||
− | <pre | + | <pre> |
<customfield> | <customfield> | ||
<language>14</language> | <language>14</language> | ||
<id>1349475</id> | <id>1349475</id> | ||
− | <caption><span style="color:red">Are you a | + | <caption><span style="color:red">Are you a charitable organization?</span></caption> |
− | <captiontranslation><span style="color:red">?</span></captiontranslation> | + | <captiontranslation><span style="color:red">¿Eres una organización de caridad registrada?</span></captiontranslation> |
<formatxml> | <formatxml> | ||
<audit>1</audit> | <audit>1</audit> | ||
Line 34: | Line 34: | ||
</formatxmltranslation> | </formatxmltranslation> | ||
<options>No;Yes</options> | <options>No;Yes</options> | ||
− | <optionstranslation>No; | + | <optionstranslation>No;Sí</optionstranslation> |
<numberformat></numberformat> | <numberformat></numberformat> | ||
<numberformattranslation></numberformattranslation> | <numberformattranslation></numberformattranslation> | ||
Line 41: | Line 41: | ||
</customfield> | </customfield> | ||
</pre> | </pre> | ||
+ | |||
+ | Translations for the above field are contained within the following tags: | ||
+ | * <captiontranslation></captiontranslation> | ||
+ | * <formatxmltranslation></formatxmltranslation> | ||
+ | * <optionstranslation></optionstranslation> | ||
+ | * <numberformattranslation></numberformattranslation> | ||
+ | * <tabnametranslation></tabnametranslation> | ||
+ | |||
[[Category:Translation]][[Category:Custom Fields]] | [[Category:Translation]][[Category:Custom Fields]] |
Revision as of 11:33, 12 November 2013
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
- Go to Global Settings
- Under System Variables and Custom Fields, click on the hyperlink for Custom Fields
- 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.
- 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.
- 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.
Translation XML Samples
The following are samples of Translation XML files and how to update the data.
<customfield> <language>14</language> <id>1349475</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 tags:
- <captiontranslation></captiontranslation>
- <formatxmltranslation></formatxmltranslation>
- <optionstranslation></optionstranslation>
- <numberformattranslation></numberformattranslation>
- <tabnametranslation></tabnametranslation>