[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] XaAES language detection via appl_getinfo()



Jo Even Skarstein, 21.11.2012 00:11:40:

On Tue, 2012-11-20 at 23:16 +0100, Helmut Karlowski wrote:

Did you set lang in xaaes.cnf? XaAES in English may be because there is no
german translation found (missing rsl-file or whatever). There is a line
lang= in the bootlog which tells how language is detected.

lang is not set, and the rsl-file is present. All XaAES dialogs/alerts
etc are in English, appl_info returns German (same as _AKP cookie).

IMO both the _AKP cookie and appl_info should return the actual language
used by the running AES. The exception would be if the _AKP cookie
indicates a language not supported by the AES. E.g. if the _AKP cookie
say "Norwegian" then XaAES will fall back to English but appl_info
should return "Norwegian".

That's how it's programmed. But the AKP-cookie is not affected by lang= in xaaes.cnf.

Unless there is an environment-variable LANG or a bogus AKP-cookie, appl_getinfo should report the same language as set in the AKP-cookie.

Do you have a testcase?

--
Helmut Karlowski