Changes between Version 15 and Version 16 of HowToTranslate
- Timestamp:
- 11/07/13 09:27:11 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowToTranslate
v15 v16 1 = How to translate GeoNetwork = 1 Authors: François Prunayre, Heikki Doeleman, Jose Garcia, Jeroen Ticheler 2 3 Date previous change: 10-07-2012 4 5 Latest changes: 07-11-2013 6 7 = How to translate !GeoNetwork = 2 8 3 9 This page describes steps necessary to include support of language other than 4 pre-installed into existing instance of GeoNetwork and it's configuration10 pre-installed into existing instance of !GeoNetwork and it's configuration 5 11 components. 6 12 … … 9 15 10 16 Follow next steps to create new language. 11 * Create new record in `Languages` table in GeoNetwork's database with new17 * Create new record in `Languages` table in !GeoNetwork's database with new 12 18 language's two-letter code. 13 19 * In tables which name ends with `Des` copy all entries marked `en` (or any … … 24 30 Change `ro` value with your language code. Also the identifiers should be updated according to table contents. 25 31 26 * Copy folders (all paths listed from GeoNetwork's root folder) to folders32 * Copy folders (all paths listed from !GeoNetwork's root folder) to folders 27 33 with new language code. (Any existing language could be treated as base for 28 34 translation, not only English.) Then change copied values with translated … … 30 36 * User interface 31 37 * `web/geonetwork/loc/en`, 32 * (before 2.6.x) `web/intermap/loc/en`.33 38 * Metadata standards 34 39 * `web/geonetwork/xml/schemas/csw-record/loc/en`, … … 40 45 or geocat.ch. 41 46 * In ''all'' files `web/geonetwork/loc/`''<language code>''`/strings.xml` add 42 tags with new language's code and it's name. These string used by GeoNetwork47 tags with new language's code and it's name. These string used by !GeoNetwork 43 48 to list languages in interface switcher and indicate current a current one. 44 49 For example, while adding Russian language identified by `ru`, it's necessary … … 138 143 ticket on `trac` with files attached. 139 144 140 141 == Translate GAST ==142 143 Files to localize:144 * `gast/data/gui_de.properties`145 * `src/org/fao/gast/localization/message_de.properties`146 147 148 145 == Translate the installer == 149 146 … … 151 148 * `packsLang.xml_deu` 152 149 153 154 == Translate the documentation ==155 156 Documentation is located in157 * `docs/docbook/gn_manual_deu`158 159 160 150 == Check the new language is aligned with others == 161 151 [wiki:synch_lang]