Re: Discussion - Search Objects - Mailing list pgadmin-hackers

From Jasmin Dizdarevic
Subject Re: Discussion - Search Objects
Date
Msg-id BANLkTi=_FA_z9SVAj=4rXu7RKpgDZ8dD+g@mail.gmail.com
Whole thread Raw
In response to Re: Discussion - Search Objects  (Guillaume Lelarge <guillaume@lelarge.info>)
Responses Re: Discussion - Search Objects  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgadmin-hackers
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.

 

2011/6/7 Guillaume Lelarge <guillaume@lelarge.info>
On Tue, 2011-06-07 at 19:30 +0200, Jasmin Dizdarevic wrote:
> In the search result list I've to build a node path. the problem is,
> that node paths are language dependent.
> how can i manually translate "Server
> Groups/Servers/local.db/Databases/..." to
> "Servergruppen/Server/local.db/Datenbanken" (german) in an elegant
> way?
>

Only parent nodes are to be translated. Meaning "Group Servers",
"Databases", "Tables", ... ie, all the plural forms. And apart from
concatening the strings, I don't see any way to do this.


--

pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: Discussion - Search Objects
Next
From: Guillaume Lelarge
Date:
Subject: Re: Discussion - Search Objects