Changes between Version 30 and Version 31 of TranslationIntro


Ignore:
Timestamp:
Dec 4, 2010, 2:14:30 PM (4 years ago)
Author:
claudio
Comment:

Addition of poedit instructions (incl. screenshots)

Legend:

Unmodified
Added
Removed
Modified
  • TranslationIntro

    v30 v31  
    2020 
    2121But even If you do not belong to that group you have no excuse for not contributing a translation since you may use '''[http://www.poedit.net/ Poedit]'''.  
    22 Poedit is a graphical tool that supports extraction and translation of messages and runs on a variety of platforms including MS Windows. The author of this text, however, has not used Poedit himself and thus cannot provide a field report. 
     22Poedit is a graphical tool that supports extraction and translation of messages and runs on a variety of platforms including MS Windows (see lower). 
    2323 
    2424If you chose to work on the command line the following is a short intro which describes the steps I took. It does not cover all features of the tools used - please refer to the fine manuals of the respective program. 
     
    7474 3. Add yourself to {{{lib/Padre.pm}}} and {{{lib/Padre/Wx/Menu/Help.pm}}} for the credit 
    7575 4. Update the {{{Changes}}} file to brag about this new translation! :-) 
     76 
     77 
     78== Poedit == 
     79 
     80The command line instructions do still apply. Poedit, as a graphical editor for the po-files, aims to provide a more convenient approach to editing catalogs than launching vi and editing the file by hand. 
     81 
     82First you need to install the package. On Gnu/Linux, poedit is probably already included in your distribution (e.g. on Debian/Ubuntu, do "sudo apt-get install poedit"). For other Operating Systems (including MS Windows and Apple OS X) you'll find binaties at the '''[http://www.poedit.net/download.php Poedit download page]'''. Follow the instructions to edit translations: 
     83 
     84 
     851. Open poedit. 
     86 
     87[[Image(poedit1.png)]] 
     88 
     892. Go to File-Open and select the desired translation (.po file). On *n*x systems the po files for Padre itself (not the plugins) can be found at trunk/Padre/share/locale. 
     90 
     91[[Image(poedit2.png)]] 
     92 
     933. Go to Catalogue-Update from POT file. Choose the file messages.pot on the same location as above (generated by the command line instructions). 
     94 
     95[[Image(poedit3.png)]] 
     96 
     974. Click OK. 
     98 
     99[[Image(poedit4.png)]] 
     100 
     1015. The missing, fuzzy and correct translation will be showed in different colours. 
     102 
     103[[Image(poedit5.png)]] 
     104 
    76105 
    77106== Plug-ins ==