Translate country

Posts: 534
Joined: 08/13/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer

Hi there,

I'm just asking myself one things. Is there a way with ubercart to translate country name ?

As it's stored in the database I don't know how to do that ?

thanks

zmove

Posts: 534
Joined: 08/13/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer

Is my question stupid or nobody knows how to do ?

Posts: 203
Joined: 09/06/2007

normally you would go to locale module and search for that string and then replace it with something else ?!

Posts: 534
Joined: 08/13/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer

I tried but no, countries are not made with t() function. They are stored in the database.

Posts: 203
Joined: 09/06/2007

so you want to do what, change them in the database once for all or tied to another translation?

Posts: 534
Joined: 08/13/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer

In fact I have my website available in enflish and french.

When a english guy want to buy products, I want to display an english list of countries.

When a french guy want to buy products, I want to display a french list of countries.

In the locale module, when I search for the english name to translate, I don't find it. I think it's because they are stored in a table and not setted up with a t('My country'); function.

So I'm still looking for a way to translate these countries.

Posts: 5269
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

There is no way at the moment... this is another case where translatable variables would be nice, but the pot extractor doesn't like them. I've still gotta chat w/ Gabor about it.

Posts: 4
Joined: 09/15/2008

What is currently the status of this issue and what are the plans?

Posts: 4
Joined: 09/15/2008