Using multiple languages for link details
By Paul
5/5 based on 2 votes. The median rating is 5.
By Paul
Instructions for 5.0.0 and later:
For true mutlilingual support, you may want to have link and category info in several languages and display in the appriate language which the visitor has selected.
New image fields of the form [languagename]_title and [languagename]_description will be automatically displayed as the value for {IMAGETITLE} and {IMAGEDESCRIPTION} when the [languagename] language is selected and we're not on the add/edit pages. For example, the value of the field spanish_title will automatically show as a link's title when browsing in Spanish. Go to Admin Panel -> Customizations -> Add Fields and add new fields for each language/field you want to make multilingual. You're most likely to want to do title and description for links and then name and description for categories.
You will, of course, then need to type the info in all languages when submitting. If the translation field isn't filled for the visitor's language, the english (or other default language) version is displayed.
Old, 4.1 Series Instructions:
Using multiple languages at once is somewhat complicated. At Admin Panel -> Settings -> Switches you can turn on the language selector to allow visitors to choose a language, but you still have the issue of the links and categories being in the language you (or others) submitted them in. You can work around this by adding new fields to handle the alternate language text. Suppose you want to show the description of a link in both English and German depending on which language the visitor is using. Go to Admin Panel -> Customizations -> Add Fields and add a new link field named germandescription. When submitting a link, fill out the German description there. Now, in the display templates, use <IF {VISITORLANGUAGE} is English> {LINKDESCRIPTION} <OTHERWISE IF {VISITORLANGUAGE} is German> {LINKGERMANDESCRIPTION}</IF> to display the descriptions. Repeat this process for all desired fields.
For true mutlilingual support, you may want to have link and category info in several languages and display in the appriate language which the visitor has selected.
New image fields of the form [languagename]_title and [languagename]_description will be automatically displayed as the value for {IMAGETITLE} and {IMAGEDESCRIPTION} when the [languagename] language is selected and we're not on the add/edit pages. For example, the value of the field spanish_title will automatically show as a link's title when browsing in Spanish. Go to Admin Panel -> Customizations -> Add Fields and add new fields for each language/field you want to make multilingual. You're most likely to want to do title and description for links and then name and description for categories.
You will, of course, then need to type the info in all languages when submitting. If the translation field isn't filled for the visitor's language, the english (or other default language) version is displayed.
Old, 4.1 Series Instructions:
Using multiple languages at once is somewhat complicated. At Admin Panel -> Settings -> Switches you can turn on the language selector to allow visitors to choose a language, but you still have the issue of the links and categories being in the language you (or others) submitted them in. You can work around this by adding new fields to handle the alternate language text. Suppose you want to show the description of a link in both English and German depending on which language the visitor is using. Go to Admin Panel -> Customizations -> Add Fields and add a new link field named germandescription. When submitting a link, fill out the German description there. Now, in the display templates, use <IF {VISITORLANGUAGE} is English> {LINKDESCRIPTION} <OTHERWISE IF {VISITORLANGUAGE} is German> {LINKGERMANDESCRIPTION}</IF> to display the descriptions. Repeat this process for all desired fields.
Rating:
5/5 based on 2 votes. The median rating is 5.
Submitted: 08/15/04 (Edited 07/28/08)
Description: Showing the link title and description in the language the viewer has selected.
Views:
953 views. Averaging 1 per day.
In the most recent 30 day period, there've been 7 views.

Print
E-Mail