Country list doesn't support multiple translations

Description

Hi,

We can define a translation per country.
Then, when we log with a language, we expect to see the translation in the WLocationDialog panel.

It doesn't happen if there are several languages activated.

The MCountry.getTrlName() method return always m_trlName which is the first language loaded by the System.

In other words, it is only the first language which will be used until the cache is resetted.

An ugly way to resolve it is to remove line 261 :
if (m_trlName == null && getEnvLanguage() != null)

But we could do better

Any hint ?

Thanks,

Nicolas

Environment

None

Status

Assignee

Carlos Ruiz

Reporter

Nicolas Micoud

Labels

Tested By

Nicolas Micoud

Priority

Major
Configure