[etoys-dev] Regarding project-specific translations
bert at freudenbergs.de
Tue Dec 13 11:02:16 EST 2011
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 -
More information about the etoys-dev