Index of /gallery/po/

      Name                                                                             Last modified         Size  Description 
   
up Parent Directory 11-Aug-2017 01:59 - unknown CREDITS 11-Aug-2017 01:59 4k [TXT] change_version.sh 11-Aug-2017 01:59 4k [TXT] copyright-header.txt 11-Aug-2017 01:59 4k [TXT] create_po_template.sh 11-Aug-2017 01:59 4k [TXT] edit_changelog.sh 11-Aug-2017 01:59 4k unknown filelist-common 11-Aug-2017 01:59 4k unknown filelist-config 11-Aug-2017 01:59 4k unknown filelist-core 11-Aug-2017 01:59 4k unknown gallery-common.pot 11-Aug-2017 01:59 40k unknown gallery-config.pot 11-Aug-2017 01:59 100k unknown gallery-core.pot 11-Aug-2017 01:59 112k [TXT] make_mo_files.sh 11-Aug-2017 01:59 8k unknown remove_obsolete.pl 11-Aug-2017 01:59 4k unknown transform_fuzzy.pl 11-Aug-2017 01:59 4k [TXT] update_po_files.sh 11-Aug-2017 01:59 4k

$Id: README 17459 2008-02-09 17:11:37Z JensT $

*************************************************
*												*
* If you are using the *nix scripts you need:	*
* 												*
* GNU gettext Version 0.12.1					*
* Recommended Version is 0.16 or higher			*
*												*
*************************************************

Here's how to create a new GALLERY translation (1.4.1 or newer)

1.) Choose which version of GALLERY you want to translate. (We suggest you choose the newest)

2.) Download or make fresh gallery-XXX.pot (po template) files according to your choosen version by

        * getting a full copy of the GALLERY source code from CVS or
        * just get the gallery-XXX.pot file from the po folder via WebCVS

    XXX is the component name.

    Note: If you are using Linux/Unix and have the full source code you can create a new gallery-XXX.pot file from the source code itself.
    Type: 

        sh create_po_template.sh

	Normally you will not need to this, because the .pot that comes with the newest gallery should be up-to-date.
	Please consult with the translation team leaders before creating your own gallery.pot. 

3.) copy gallery-XXX.pot (po template) to your own .po file.
    Your .po Translation-File has to be named _-gallery_.po

    For example: 

       english, Great Britain -> en_GB-gallery_core.po

    or 

       deutsch, Deutschland -> de_DE-gallery_config.po

4.) Edit header Information correctly (charset etc ..)

    Note: A good tool to edit .po files is poEdit 
	  poEdit works on Windows Systems, too. It is available from http://poedit.sourceforge.net/

5.) Do your translation

    If you see something like: 

        msgid "Upgrading item %d of %d . . . "

    or 

        msgid "%s (%s), %s on %s"

    then leave the %d or %s in your translation. They are place holders for things like "time" or "times" or numbers. 

    If you have problems with the order, because in your language its different then in english. You can use the $ to change order 

    eg:

        msgid "Upgrading item %d of %d" 
        msgstr "... %2$d ... %1$d ..." 

6.) If all translations are done

        * With Shell Access run make_mo_files.sh

        sh make_mo_files.sh -po _

    this works only on *nix System with bash 

        * Without Shellaccess:
              o use poEdit and create a _-gallery_.mo file from your .po file
              o create a locale/_ folder
              o copy _-gallery_.po file into locale/_
              o copy _-gallery_.mo into locale//LC_MESSAGES/

7.) Copy the nls.php file into locale/_ and edit it to your needs

8.) Test your gallery if the newlanguage works fine.

9.) Send your -gallery_XXX.po (ONLY THES FILES) to the GALLERY Language tracker
    If you dont have a sourceforge account, or have no clue about this tracker then send your .po files to me. 


Note: Please tell us for which Version your translation is! 
Proudly Served by LiteSpeed Web Server at roystpierre.com Port 80