This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
languages [2011/03/18 15:27] ccagle8 |
languages [2013/02/13 08:12] Connie [Languages] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Languages ====== | ====== Languages ====== | ||
- | GetSimple supports different languages for the admin panel. [[http://get-simple.info/extend/|Download the latest language files]] for GetSimple from Extend. | + | GetSimple supports different languages for the admin panel. [[http://get-simple.info/extend/all_languages.php|Download the latest language files]] for GetSimple from Extend. |
Once you've downloaded the language file of your choosing, save it to the ''/admin/lang/'' folder of your new installation of GetSimple. If you've already gone through the setup of GetSimple, you can change your language preference within your **Settings** tab. | Once you've downloaded the language file of your choosing, save it to the ''/admin/lang/'' folder of your new installation of GetSimple. If you've already gone through the setup of GetSimple, you can change your language preference within your **Settings** tab. | ||
+ | |||
+ | Hint: As AccessKeys differ in different languages, you can define the AccessKeys which fit best for your language in the language-file. Search for the section //For: include-nav.php// in the language-file and wrap a single letter in ''<em></em>'' code there to define that letter als AccessKey for that function. | ||
+ | Example: ''<em>S</em>'' defines //**s**// as AccessKey for the Page-Menu in the german version. | ||
===== Creating a New Language File ===== | ===== Creating a New Language File ===== | ||
Line 12: | Line 15: | ||
- Save the new file **UTF8 Without BOM**. | - Save the new file **UTF8 Without BOM**. | ||
* If you get an error saying "Headers already sent", it is probably because you did not save the file in this format. | * If you get an error saying "Headers already sent", it is probably because you did not save the file in this format. | ||
+ | |||
+ | For plugins conforming to the guidelines and GetSimple itself: you may use the [[http://get-simple.info/extend/plugin/translate/112/|Translate plugin]] - more information see [[lang:translate|Translation Tools]]. | ||
+ | |||
+ | ===== Slug Transliteration ===== | ||
+ | |||
+ | GetSimple also provides a way to convert international characters in the page's 'slug' attribute. By default, we strip out all non-English characters to create the page's 'slug'. You can create your own transliteration array named 'TRANSLITERATION' within the specific language file. | ||
===== Plugin Language Files ===== | ===== Plugin Language Files ===== | ||
Line 20: | Line 29: | ||
[[how_to:wysiwyg_editor|CKEditor]] also supports languages. | [[how_to:wysiwyg_editor|CKEditor]] also supports languages. | ||
+ | |||
+ | ===== Language File Problems ===== | ||
+ | If you see certain language strings that look like **{LOREM_IPSUM}**, then these are untranslated strings within your current language file. Either compare your file with the latest GetSimple ''/admin/lang/en_US.php'' file or add the string to your current translation. | ||
+ | {{:nolanguages.png|}} |