[Development] [Interest] Direct-lookup translation, even for English (was Re: get english translation)

Knoll Lars Lars.Knoll at digia.com
Thu Sep 4 09:50:52 CEST 2014


On 04/09/14 07:54, "Thiago Macieira" <thiago.macieira at intel.com> wrote:

>On Thursday 04 September 2014 05:24:38 Rutledge Shawn wrote:
>> It doesn't necessarily occur to an English speaker to identify
>>translatable
>> strings and wrap them in tr(), either.  It is some work already to try
>>to
>> support localization, so we are talking about people who are aware
>>enough
>> to think about supporting it.  But if we were using enum keys instead of
>> string-string lookup, it would be more efficient and would also
>>encourage
>> separation of content from the means of displaying it.
>
>Using identifiers is usually a bad idea. Every single
>internationalisation
>solution I've seen has migrated away from that.

Agree with Thiago. Identifiers are not something I want to encourage. The
only reason we have some support for those in Qt is legacy.

Cheers,
Lars



More information about the Development mailing list