[FLOW3-general] Accessing resources from classes
Karsten Dambekalns
karsten at typo3.org
Mon Dec 7 10:41:54 CET 2009
Hi Zach.
On 03.12.09 03:15, Zachary Davis, Cast Iron Coding LLC wrote:
> Just curious -- are you guys envisioning any particular format for
> translations? I was reading about the symfony approach today [1], which
> stores the labels in XLIFF. I'm not familiar with the format, and it
> seemed to me that the Symfony approach could lead to trouble, insofar as
> it seems to me that minor corrections to the original would require a
> corresponding change in the XML. But, maybe that potential pitfall is
> worth the advantages of a more standardized format.
Well, XLIFF seems to be a very nice format so far, it addresses a lot of the problems encountered in i18n. Performance issues can be solved by caching and (free) editors for XLIFF are available as well.
The problem of having to adjust i18n files when the source changes is present in all solutions, from TYPO3-homebrewn over gettext to XLIFF. So that is not a drawback, really.
For the actual message building in code we'll use the intl extension of PHP 5.3 (http://www.php.net/manual/intro.intl.php).
Regards,
Karsten
More information about the FLOW3-general
mailing list