On Tue, Jun 7, 2011 at 9:11 PM, Guillaume Lelarge
<guillaume@lelarge.info> wrote:
> On Tue, 2011-06-07 at 21:58 +0200, Jasmin Dizdarevic wrote:
>> I know...these are the strings that has to be translated. As I know in
>> pgAdmin there are language files, which are defined something like
>> this:
>> English - Foreign Language
>> Server Groups - Servergruppen
>> Help - Hilfe
>> ....
>>
>>
>> These mappings are used when the GUI is being rendered - based on the
>> selected language.
>> My question is: How to translate a string manually.
>>
>
> I'm not sure what you mean. If you want that a string is automatically
> translated, use the _() function. As in _(wxT("Foreign Languages)).
I think you mean _("Foreign Languages")
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company