[FLOW3-general] [FLOW3-core] A little update on the status of I18n
Karsten Dambekalns
karsten at typo3.org
Thu Mar 24 22:15:05 CET 2011
Hi.
Today I played around with I18n in FLOW3. My goal was to add translated
labels to at least some pages of the Blog. I succeeded[1], but there are
still some open ends. As was to be expected. :)
First, the Fluid TranslateViewHelper is not in the Fluid package, I
pushed a change for review to include it at:
http://review.typo3.org/1262
That would resolve
http://forge.typo3.org/issues/11956
Second, I18n has to be initialized, see this change for that:
https://review.typo3.org/1238
The documentation does not tell where to put XLIFF files, and in fact
the lookup is too restrictive currently. It expects files at
resource://FLOW3/Private/Locale/Translations/ - so all translation files
would have to be in the FLOW3 package. That obviously does not make
sense. I created an issue for this:
http://forge.typo3.org/issues/14037
And finally we probably need a way to automatically extract
translateable stuff from source (Fluid templates to begin with) and
create XLIFF from it. Translation is nicely possible with Pootle (tried
that today), but creating an initial XLIFF file needs some love. If
someone knows about a tool for that, let us know!
So much for today.
Regards,
Karsten
[1] https://skitch.com/k-fish/rstf4/xliff-at-work
More information about the FLOW3-general
mailing list