Post your MOD language files and variables here to allow for translators to translate your MOD into their native language.
Forum rules MOD Authors: Request translations for your MODs and MODX files here. Post your language file(s) in [ spoiler][ pre]lang file[/pre][/spoiler] BBCode -- this will maintain proper tag spacing. -- If you have many language files included with your MOD, attach it as a download (.txt) file instead. Please credit translators in your release topic as well as the language file(s). Important language for MODX: MOD Name, MOD Description, Author Notes, DIY Instructions. Individual edit comments can be translated as well.
Translators: Post your translated code in [ spoiler][ pre]lang file[/pre][/spoiler] BBCode -- This will retain the proper tabbing and spacing. Remember to include the language abbriviation for the MODX file (i.e. lang="de"). Please provided your crudentials in the language file as: // @author your_username ( website or email ) Some translations for MODX require exact abbriviation: i.e. "es-ar" or "es-sp"
<?php /** * * gallery [Greek] by kingmob * * @package gallery * @version $Id: gallery.php 23 2007-07-19 16:26:54Z Handyman $ * @copyright (c) 2007 StarTrekGuide Group * @license http://opensource.org/licenses/gpl-license.php GNU Public License * */
/** * DO NOT CHANGE */ if (empty($lang) || !is_array($lang)) { $lang = array(); }
// DEVELOPERS PLEASE NOTE // // All language files should use UTF-8 as their encoding and the files must not contain a BOM. // // Placeholders can now contain order information, e.g. instead of // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows // translators to re-order the output of data while ensuring it remains correct // // You do not need this where single placeholders are used, e.g. 'Message %d' is fine // equally where a string contains only two placeholders which are used to wrap text // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
<?php /** * * gallery [german] by SinTao * * @package gallery * @version $Id: gallery.php 23 2007-07-19 16:26:54Z Handyman $ * @copyright (c) 2007 StarTrekGuide Group * @license http://opensource.org/licenses/gpl-license.php GNU Public License * */
/** * DO NOT CHANGE */ if (empty($lang) || !is_array($lang)) { $lang = array(); }
// DEVELOPERS PLEASE NOTE // // All language files should use UTF-8 as their encoding and the files must not contain a BOM. // // Placeholders can now contain order information, e.g. instead of // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows // translators to re-order the output of data while ensuring it remains correct // // You do not need this where single placeholders are used, e.g. 'Message %d' is fine // equally where a string contains only two placeholders which are used to wrap text // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
<?php /** * * gallery [german] by SinTao * * @package gallery * @version $Id: gallery.php 23 2007-07-19 16:26:54Z Handyman $ * @copyright (c) 2007 StarTrekGuide Group * @license http://opensource.org/licenses/gpl-license.php GNU Public License * */
/** * DO NOT CHANGE */ if (empty($lang) || !is_array($lang)) { $lang = array(); }
// DEVELOPERS PLEASE NOTE // // All language files should use UTF-8 as their encoding and the files must not contain a BOM. // // Placeholders can now contain order information, e.g. instead of // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows // translators to re-order the output of data while ensuring it remains correct // // You do not need this where single placeholders are used, e.g. 'Message %d' is fine // equally where a string contains only two placeholders which are used to wrap text // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
/** * DO NOT CHANGE */ if (empty($lang) || !is_array($lang)) { $lang = array(); }
// DEVELOPERS PLEASE NOTE // // All language files should use UTF-8 as their encoding and the files must not contain a BOM. // // Placeholders can now contain order information, e.g. instead of // 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows // translators to re-order the output of data while ensuring it remains correct // // You do not need this where single placeholders are used, e.g. 'Message %d' is fine // equally where a string contains only two placeholders which are used to wrap text // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine