Re: [poedit-users] how to scan source-files?

"Werner F. Bruhin" <[email protected]>
Newsgroups gmane.editors.poedit.user
Message-ID <[email protected]>
Hi Christian,

Christian Buhtz wrote:

>On Thu, 06 Apr 2006 10:04:53 +0200, Werner F. Bruhin wrote:
>  
>
>>I don't know.  Did you check under File/Preferences Parser tab, I don't 
>>use C++ (use Python) but even in my poedit install the C++ parser is 
>>defined.
>>    
>>
>
>C++ parser is there but I think he do not know for what he should parse.
>I thougt that the '_' is standard. But I have to put it in the keyword
>list. Now there are strings.
>  
>
Strange I use _('to translate') in Python and it finds it.  Maybe some 
expert can enlighten us.

>Other question.
>I can only make one translation in one po-file. Do I have one po-file
>for each language I want to support?
>  
>
Yeap, one file per language.  This is the way gettext works, i.e. when 
you distribute you have to put the .mo files in folders such as:

locale\de\LC_MESSAGES

I have two files in each of these folders, one for the catalog for 
wxPython (GUI tool I use) and one for my app.

>I think it would be easier if there are all in one file.
>
>If the code changes I have to reparse it with each po-file? If there are
>20 languages. I have to open each po-file and parse the code?
>  
>
It is not that difficult, I use the poEdit Catalogs manager ("C:\Program 
Files\poEdit\bin\poedit.exe") in which you can list all your projects 
and for each project you define all the languages you support for that 
project.  Then you have a toolbar button to generate the source for all 
the languages.

See you
Werner

>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by xPML, a groundbreaking scripting language
>that extends applications into web and mobile media. Attend the live webcast
>and join the prime developer group breaking into this new coding territory!
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
>_______________________________________________
>Poedit-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/poedit-users
>
>
>  
>



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.