In recent days we have received questions about how to translate our modules into other languages, so we decided to create this quick guide to make it very fast. Remember that if you want a little more information you can find a deeper explanation in the documentation of Common Utilities.
Well, first of all goes without saying that Mexico Network modules do not base their translation into the standard system of XOOPS, but use the method provided by Common Utilities. This means that the translation is stored in one file and is therefore very easy to make the translation into any language.
All the modules created by Red Mexico contains a folder named "lang". It is in this folder will be stored translation files.
In order to translate the selected module must edit the file with extension ". Po" which contains all the strings to translate. By default it provides a file called es_MX.po containing the translation from English into Spanish of Mexico.
This file can be edited with PoEdit or similar program, so the procedure for using these programs depend on those of the author, this is not a guide to the use of poedit or similar program.
Remember to store the files following the standard for file name. For example, to the Spanish of Mexico file should be called es_MX.po, for the United States English call en_US.po.
Programs that edit these files can store a second version of the file with the extension ". mo." It is precisely the file that uses Common Utilities to display the various translations of the modules.
Once this list language translation you want, and then you have saved and created the file. Mo, it's time to activate the new Common Utilities language to use. To do this, go to the preferences of Common Utilities and in the box for the language, write the new language code. For example es_MX.
Remember that the file with name similar to the code must already exist in the module, or modules, otherwise show only English, the default language for modules.
I hope this information has been helpful, but if you have any questions we invite you to use our contact form to send us your questions or suggestions.