Changes between Version 2 and Version 3 of TranslationIntro


Ignore:
Timestamp:
12/02/08 16:44:39 (5 years ago)
Author:
jquelin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TranslationIntro

    v2 v3  
    1111 
    1212  1. Check out the current sources of Padre from the subversion repository. 
    13   1. "{{{cd}}}" to the directory "{{{share/locale/}}}" in the Padre directory. 
    14   1. Delete the file "{{{messages.pot}}}". 
    15   1. Exceute 
     13  1. Update the pot file with the "{{{pot}}}" action of "{{{Module::Build}}}". 
    1614{{{ 
    17 find ../../lib -name '*.pm' > files.txt 
    18      }}} 
    19      to gather the list of Perl modules from which the strings will be extracted. 
    20   1. Execute 
    21 {{{ 
    22 xgettext -o messages.pot -f files.txt 
    23      }}} 
    24      to extract the strings to translate from the given list of files and have them written to the message template file. 
     15./Build pot 
     16}}} 
     17     This will extract all strings to be translated from the Perl modules and have them written to the message template file. 
    2518  1.  
    2619    a. In case of updating a already existing language execute 
     
    3932= Adding a translation = 
    4033 
    41  1. Create the .po file and add it to SVN 
    42  2. Add it to MANIFEST 
    43  3. Change lib/Padre/Wx/Mainwindow.pm (the %languages and %shortname_of ) 
    44  4. Add yourself to lib/Padre.pm and lib/Padre/Wx/Menu/Help.pm for the credit 
    45  5. Changes 
     34 1. Create the {{{.po}}} file and add it to SVN (note: only the {{{.po}}} file, not the {{{.mo}}} one). 
     35 2. Add it to {{{MANIFEST}}} 
     36 3. Change {{{lib/Padre/Wx/Mainwindow.pm}}} (the %languages and %shortname_of ) 
     37 4. Add yourself to {{{lib/Padre.pm}}} and {{{lib/Padre/Wx/Menu/Help.pm}}} for the credit 
     38 5. Update the {{{Changes}}} file to brag about this new translation! :-) 
    4639