Difference between revisions of "Localization"
From iDempiere en
Ngordon7000 (talk | contribs) m (→References) |
m (Add category) |
||
| Line 1: | Line 1: | ||
| − | |||
| − | |||
| − | |||
= Localization = | = Localization = | ||
| Line 49: | Line 46: | ||
* http://www.adempiere.com/Localization_Guide | * http://www.adempiere.com/Localization_Guide | ||
* http://www.adempiere.com/Language_Pack_Installation | * http://www.adempiere.com/Language_Pack_Installation | ||
| + | |||
| + | |||
| + | [[Category:Development]] | ||
| + | [[Category:Developer documentation]] | ||
| + | [[Category:User Manual]] | ||
| + | [[Category:Setup]] | ||
| + | [[Category:System administration]] | ||
| + | [[Category:Localisation]] | ||
| + | [[Category:Translation]] | ||
Revision as of 10:43, 1 November 2015
Localization
Please read the references given in the reference section below.
Translation Import/Export
- Use to quickly edit translations
- Found in menu option Translation Import/Export
- Don't select table - all translation tables are exported
- Export / Import as a ZIP file
- Only centrally maintained fields are exported for ad_field
- Do synchronize terminology after import, to set the names of centrally maintained fields
- java.util.zip.ZipException: error in opening zip file: when used linux ark to compress file, using command line worked fine.
Enabling translations on client documents
- Tick Multi Lingual Translations on the Client window (set the language as well.) Run synchronize doc translations, restart app server. Translation tab shows on document window in client.
Adding support for translation to a table
- Remember to enable multi lingual translations for your client (see above)
- Create table ending with _trl
- Look at ad_element_trl for an example of columns you need in your table
- The key of the table must be ticked 'parent link'
- Add a translation tab to your window, tab & field, with 'translation tab' ticked
- The column(s) to be translated (on the main table, not the _trl table) must be ticked on the table & column as 'translated' (see under technical)
- Login to System and go to Language, find your language, and go to language maintenance. Select 'Add missing translations'
- Remember: new records are not added using the translation window, but rather using add missing translations.
Use translations to quickly change labels
Jasper report translations
Use resource bundles to translate reports.
- Refer: http://wiki.idempiere.org/en/Multi-Lingual_Jasper
- Subreports need a parameter to be added. Refer: http://wiki.idempiere.org/en/Finding_resources_in_JasperReports
- Set resource bundle property of report to same as report name
- Set sub report resource bundle to blank
- Subreport then uses same bundle as main report
- if having problems seeing properties in deployed report, examine /tmp/reportname* (TEMP folder in windows), to see if correct files have been deployed
