Re: List of languages

Vaclav Slavik <[email protected]>
Newsgroups gmane.editors.poedit.user
Message-ID <[email protected]>
Hi,

HERMIER Christophe wrote:
> > > I would prefer to see, in the TM language list languages listed
> > > the same way they are in the list ( ie: "CODE (NAME)" )
> > > Are you ok with that ?
> >
> >I don't understand.
>
>          In the "Preferences" dialog, "Translation Memory" Tab,
>          When you select a language you see entries like "FR
> (French)". but the "My languages" list display only the ISO code

I see. Yes, it would be nicer, I guess.

> > > It would also be great to have the name of the language in the
> > > currently selected UI Language + the name of the language in
> > > itself.
> >
> >And this neither.
>
>          instead of :
>          FR - French
>          display :
>          FR - French - Français

This risks to be a bit problematic because of all the neccessary 
encodings involved. Unless we do a nasty trick and instruct 
translators to translate special-meaning string in the language 
catalog with the language name (e.g. to translate 
"<<<CatalogLanguageName>>>"  to "Français"). Why not.

> >What _is_ useful is getting a list of available translations of
> > your application, but it's not as easy  as you might think.
>
>          I suppose that "just have a look at the .mo files in your
> LC_MESSAGES directory" is not the right answer.
>          What's the trick here ?

That you must look only for catalogs related to the application, in 
lots of directories, that you must somehow decide what exactly is 
"translation is available" (all catalogs? at least one of app's 
catalogs? 50 % of catalogs?). Also, you must do it before wxLocale is 
intialized and you have to somehow deal with language that don't 
require translation (this is usually English, but may be either en_GB 
or en_US and the other one may require a catalog, you may also have 
sources in some other language [if you have enough luck to get away 
with it]).

Regards,
Vaclav

-- 
PGP key: 0x465264C9, available from http://pgp.mit.edu/
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQA/7fnKxDYa/UZSZMkRAlxsAJ96H2GrWBVt6YxKVY6zOP7YmpP1qACeMU3x
jBjbAHGT14VBWSXq2Xn2H9I=
=nIuK
-----END PGP SIGNATURE-----
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.