John Maloney a écrit :
Hi, André.
Thanks for your help. Here's some background on how Scratch uses .po
files.
Scratch can only read .po files, not .mo files. We did that partly so
that anyone could edit or add translations with just a simple text
editor, even if they knew nothing about about the gettext system, and
partly to keep things as simple as possible.
Incidentally, space for the translation files is not really an issue.
The .po files are tiny compared to the Scratch media and sample
projects folders. As I understand it, the real motivation for using
.mo files in many applications is that they are faster to read, since
they are pre-parsed. But the Scratch .po file parser is quite fast, so
that's not an issue.
So you can see why we don't need (and couldn't even use) .mo files.
But thanks for your offer!
-- John
Hi John
Makes sense.
Looking over my system, I see that the .mo files are mostly used by apps
with a lot more translated text than Scratch. My only concern was
efficiency; even the largest apps use relatively little space.
-André
_______________________________________________
Mailing list: https://launchpad.net/~scratch
Post to : [email protected]
Unsubscribe : https://launchpad.net/~scratch
More help : https://help.launchpad.net/ListHelp