Cool. Thanks for the answers.
I'll definitely try the "fallback" solution and see how it behaves.
Severin
2011/12/13 Bert Freudenberg bert@freudenbergs.de:
On 13.12.2011, at 16:53, Ricardo Moran wrote:
On Mon, Dec 12, 2011 at 2:48 PM, Bert Freudenberg bert@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.
Cheers, Richo
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@squeakland.org http://lists.squeakland.org/mailman/listinfo/etoys-dev