jettyrat
Moderator


Joined: Nov 28, 2005 Posts: 1144
|
Posted: Tue Dec 02, 2008 7:06 pm Post subject: Read this before contributing a translation |
|
|
If you have created a translation of the integration to a language other than english and wish to share it with other users, this is the place for it. However, by posting your translation here, you (or other future users) also agree to support any issues with it and maintain it to the current integration version. These translations will not be supported nor maintained by nukedgallery or the developers of the integration. They are provided as a convenience for users, by users.
It is highly recommended that the translation package follow the phpBB coding and packaging guidelines. This will allow for consistency with the integration and other phpBB mods.
Some links for reference:
phpBB translation guidelines and naming conventions [phpbb.com]
General mod guidelines [phpbb.com]
All language files must:
1. Be saved as UTF-8 encoded.
2. Not contain a BOM.
3. Be saved with unix style line endings
4. Use tabs of 4 spaces
(Any good text editor should be able to do this. See the coding guidelines [phpbb.com] for more details.)
The files that must be translated include all language files in the language/en/mods/g2i/ directory, including:
acp_gallery2.php
g2helper.php
g2is.php
ucp_gallery2.php
Also, the language portion of the mods in the install.xml file.
A complete translation would also include a new button for styles/prosilver/images/en/button_gallery.gif using the translation language.
Following the phpBB mod guidelines, a typical package using American English as an example would look something like this:
g2i_v1.2.1_en_US.zip
/install_en_US.xml (translated language portion from original install file)
/license.txt (original file)
/modx.prosilver.en.xsl (original file or translated xsl file)
/root/language/en_US/mods/g2i/acp_gallery2.php (translated file)
/root/language/en_US/mods/g2i/g2helper.php (translated file)
/root/language/en_US/mods/g2i/g2is.php (translated file)
/root/language/en_US/mods/g2i/ucp_gallery2.php (translated file)
/root/language/en_US/mods/g2i/index.htm (original file)
/styles/prosilver/images/en_US/button_gallery.gif (translated image file)
Submit the details of the translation package along with a download location to Dari [nukedgallery.net] via pm. He will then host the package on sourceforge and provide you with a link to the file as hosted on sourceforge.
Start a new thread in the forum with a descriptive subject like:
American English en_US
Add any comments you like and the link to the file and you are done! |
|