[etoys-dev] Regarding project-specific translations
skadge at gmail.com
Wed Dec 14 07:24:13 EST 2011
Thanks for the answers.
I'll definitely try the "fallback" solution and see how it behaves.
2011/12/13 Bert Freudenberg <bert at freudenbergs.de>:
> On 13.12.2011, at 16:53, Ricardo Moran wrote:
>> On Mon, Dec 12, 2011 at 2:48 PM, Bert Freudenberg <bert at freudenbergs.de> wrote:
>>> If you put all your code in a separate package, then adding a YourPackage.mo file should let you keep your translations separate from the default translations.
>>> And you can add the tile translations to that file, too. The fallback translation mechanism should find it there.
>> But wouldn't that be much slower? IIRC the fallback translation mechanism was made for exceptional situations, we shouldn't rely on it.
> IMHO it's a very simple solution. If it turns out to be too slow (I doubt that, but still) then caching the lookup would be rather easy to do.
> Better ideas welcome of course :)
> - Bert -
> etoys-dev mailing list
> etoys-dev at squeakland.org
More information about the etoys-dev