diff options
author | Jim Fulton <jim@zope.com> | 2003-04-03 16:18:38 +0000 |
---|---|---|
committer | Jim Fulton <jim@zope.com> | 2003-04-03 16:18:38 +0000 |
commit | 545de8a4418193783ca7ced545347c31c2651e5b (patch) | |
tree | 74cfeaafd0f18f6be530e163249328664e6d4185 /talinterpreter.py | |
parent | 65782305c0f163484a415470f5e70e1db5cea265 (diff) | |
download | zope-tal-545de8a4418193783ca7ced545347c31c2651e5b.tar.gz |
Changed the handling of program source translations
- The translation files for the application server (zope.app) are now
al in one place, src/zope/app/translation_files.
- Added an extraction tool, extract.py that extracts all translatable
strings from Python and zpt source files into a translation template
file, zope.pot. This template file should then be merged into
individual translation files.
To do:
- zcml extraction
- I don't think that encodings are handled correctly. The template
file certainly doesn't have the encoding set correctly.
Diffstat (limited to 'talinterpreter.py')
-rw-r--r-- | talinterpreter.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/talinterpreter.py b/talinterpreter.py index d36c336..287c18d 100644 --- a/talinterpreter.py +++ b/talinterpreter.py @@ -622,9 +622,6 @@ class TALInterpreter: i18ndict = {} if obj: i18ndict.update(obj) - # XXX need to fill this in with TranslationService calls. For now, - # we'll just do simple interpolation based on a $-strings to %-strings - # algorithm in Mailman. if not self.i18nInterpolate: return msgid # XXX Mmmh, it seems that sometimes the msgid is None; is that really |