Changes between Version 7 and Version 8 of TranslationIntro


Ignore:
Timestamp:
12/31/08 17:55:02 (5 years ago)
Author:
garu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TranslationIntro

    v7 v8  
    1010Before you begin, please make sure that you have the GNU gettext utilities installed. 
    1111 
    12   1. Check out the current sources of Padre from the subversion repository. 
     12  1. Check out the current sources of Padre from the subversion repository: http://svn.perlide.org/padre/trunk/ 
    1313  1. Update the messages.pot file using 
    1414{{{ 
    1515perl ../tools/update_pot_file.pl 
    1616}}} 
    17      This will extract all strings to be translated from the Perl modules and have them written to the message template file. 
     17     This will extract all strings to be translated from the Perl modules and have them written to the message template file. Note that this command must be typed inside the  'Padre' subdirectory. 
    1818  1.  
    1919    a. In case of updating an already existing language execute 
     
    3333perl ../tools/po_stats.pl 
    3434}}} 
    35 Will create a textual report on the status of all the existing translation files. 
     35Will create a textual report on the status of all the existing translation files. Remember to run this under the 'Padre' subdirectory. 
    3636 
    3737= Adding a translation = 
     
    3939 0. Check out the list of existing translations: http://svn.perlide.org/padre/trunk/Padre/share/locale/ 
    4040 1. Create the {{{.po}}} file and add it to SVN (note: only the {{{.po}}} file, not the {{{.mo}}} one). 
    41  2. Change {{{lib/Padre/Locale.pm}}} (the %LANGUAGE and %SHORTNAME hashes ) 
     41 2. Change {{{lib/Padre/Locale.pm}}} (the %SHORTNAME hash and the 'menu_view_languages' subroutine ) 
    4242 3. Add yourself to {{{lib/Padre.pm}}} and {{{lib/Padre/Wx/Menu/Help.pm}}} for the credit 
    4343 4. Update the {{{Changes}}} file to brag about this new translation! :-)