If your license permits, multiple languages can be added to Asset Bank from the Admin > Content > Languages page. On this page you can also suspend, edit or delete a language. Added languages can also be made the default language for your site however users will still be able to select their own default language on their user profile.
Once a language has been added it is automatically suspended to allow you to provide translations before it is available to your users. To unsuspend a language simply click the "yes" in the 'Suspended?' column.
Out-of-the-box translations are not provided by Asset Bank, these will need to be manually added to the system. The quickest and simplest way to do this is to go to Admin > Content > Export and export a .txt file of all content items in the system. This can be opened in any text editor but you may find it simpler to open in Microsoft Excel.
Once you have translated your content you can import it from the Admin > Content > Import section.
IMPORTANT - do not translate variable names
You should not translate any of the variable names that have been exported. These appear within hashtags, e.g. #a-lightbox#. These should be left as is, as they are just variables that themselves eventually point to the correct translated content.
You should also not change any HTML code.
For more information on translating content please see our dedicated support article on how to translate content.
Earlier Versions of Asset Bank
In earlier versions of Asset Bank multi-lingual capabilities had to be enabled via a setting change and a license upgrade (in more recent versions the setting has been removed). If your Asset Bank has the setting supportMultiLanguage and you've got the appropriate license then to switch on multi-language support set the app setting
supportMultiLanguage=true
and restart Tomcat or the webapp.
For Tomcat to correctly interpret utf-8 encoded urls, the attribute URIEncoding="UTF-8" should be added to the Connector element on port 8080 in server.xml. If IIS is being used with the isapi_redirect filter (or Apache with proxy_ajp) then the AJP connector on port 8009 also needs to have URIEncoding="UTF-8" added. If Tomcat is hosting other webapps some consideration should be given to the impact of this, with an additional Connector being added if required.
Once multi-language support is turned on, you can add a new language by going to Admin>Content>Languages.
You can specify the name of an image file to be used as a flag icon to be displayed in the language selector. For this to work, the image must exist in the following location on the server:
[tomcat]/webapps/asset-bank/images/standard/languages/
Asset Bank has a number of images already installed, which are named according to their international country code (gb.gif, fr.gif, de.gif etc).
The language selector appears as its own language bar at the very top of the page as in the image below.
Comments
0 comments
Please sign in to leave a comment.