Changes between Version 7 and Version 8 of TranslationIntro
- Timestamp:
- 12/31/08 17:55:02 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TranslationIntro
v7 v8 10 10 Before you begin, please make sure that you have the GNU gettext utilities installed. 11 11 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/ 13 13 1. Update the messages.pot file using 14 14 {{{ 15 15 perl ../tools/update_pot_file.pl 16 16 }}} 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. 18 18 1. 19 19 a. In case of updating an already existing language execute … … 33 33 perl ../tools/po_stats.pl 34 34 }}} 35 Will create a textual report on the status of all the existing translation files. 35 Will create a textual report on the status of all the existing translation files. Remember to run this under the 'Padre' subdirectory. 36 36 37 37 = Adding a translation = … … 39 39 0. Check out the list of existing translations: http://svn.perlide.org/padre/trunk/Padre/share/locale/ 40 40 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 ) 42 42 3. Add yourself to {{{lib/Padre.pm}}} and {{{lib/Padre/Wx/Menu/Help.pm}}} for the credit 43 43 4. Update the {{{Changes}}} file to brag about this new translation! :-)
