Codebeamer Localization Guide #32494/HEAD / v390 |
Codebeamer Localization GuideThis guide is about translating Codebeamer to another language. Table of Contents
Language CodesSince version 5.6.0 Codebeamer supports multiple languages, optionally qualified by country.
Language Resource FilesEach language is defined by a set of language resource files. Property FilesThe property files are contained in the Codebeamer distribution library and are not customizable by customers (only by distributors).
Be careful with text that spans multiple lines. A backslash \ character at the end of the line indicates that the text continues on the next line for example this is a multi-line translation: cb.register.message=If you have not requested/received an activation key yet, please <a href="{0}">register</a> this installation now.<br/>\ Registration is absolutely free and you will receive an activation key via email immediately !<br/>\ <br/>\ Please copy the activation key from the email you receive, paste it above and click on <i>Activate</i>.<br/>
Property file resources are resolved from most specific language to default language:
name_language_country.properties → name_language.properties → name.properties
If you don't know how to translate a specified resource text, remove that text definition from your translated properties file, and the system will use the default (English) text instead. This also makes it easier to compare a specific translation with the defaults, because you can simply find out which resources have not been translated (yet).
my-ApplicationResources.propertiesStarting with CB-7.7, Codebeamer also supports customer specific text resources, by adding my-ApplicationResources*.properties files to ~/CB-../tomcat/webapps/cb/WEB_INF/classes. These files are not present or empty for a default Codebeamer distribution.
The same rules and naming conventions as described for ApplicationResources.properties below, also apply for my-ApplicationResources.properties.
Please only add/override language specific text resources in a customer specific file of the appropriate language, e.g. my-ApplicationResources_de.properties!
CustomApplicationResources.propertiesStarting with version 20.11-LTS (Carmen) Codebeamer supports another way of overriding localization messages by customers by adding CustomApplicationResources*.properties files to /tomcat/repository/config/i18n/. These files are not present or empty for a default Codebeamer distribution.
CustomApplicationResources have precedence over my-ApplicationResources and the default ApplicationResources files, so you can:
The same rules and naming conventions as described for ApplicationResources.properties below, also apply for CustomApplicationResources.properties.
Please only add/override language-specific text resources in a customer-specific file of the appropriate language, e.g. CustomApplicationResources_de.properties!
ApplicationResources.propertiesThis is the main language resource files. language=zh country=CN
displaytag.propertiesThis is an optional resource file which contains translations for table/paging resources. Wiki Page TemplatesThe directory ~CB/tomcat/webapps/cb/config/templates/wiki contains templates for Wiki pages.
Be sure to only translate 'real' text and not Wiki or VTL markup elements.
The system will look up files in the order: name_language_country.wki → name_language.wki → name.wki
user-homepage.wkiThis is the template for user homepages. project-homepage.wkiThis is the template for project homepages. project-navigationbar.wkiThis is the template for project navigation bars. project-trackers-homepage.wkiThis is the template for project trackers pages. Wiki Help FilesThe directory ~CB/tomcat/webapps/cb/help contains online help files in Wiki format. WikiHelp.wkiThis file contains the Wiki syntax definition and Wiki plugin descriptions. search.wkiThis file contains the online help for the Codebeamer search syntax and options.
Language Resource BundlesAll resources belonging to a localization, should be bundled in a ZIP/TAR archive called cb_language[_country].zip with the following structure:
To install a new language, you then only have to:
Installing Additional Character Sets for Special CharactersIn case a certain font type capable of displaying special characters is not available on the Codebeamer server by default, install the needed font to the /etc/fonts/fonts.conf folder of your Codebeamer instance. |
Fast Links
codebeamer Overview codebeamer Knowledge Base Services by Intland Software |
This website stores cookies on your computer. These cookies are used to improve your browsing experience, constantly optimize the functionality and content of our website, furthermore helps us to understand your interests and provide more personalized services to you, both on this website and through other media. With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click accept to consent to our and our partners’ processing as described above. Please be aware that some processing of your personal data may not require your consent, but you have a right to object to such processing. By using our website, you acknowledge this notice of our cookie practices. By accepting and continuing to browse this site, you agree to this use. For more information about the cookies we use, please visit our Privacy Policy.Your preferences will apply to this website only.