[TYPO3-translators] Trimming of the translation values

Dmitry Dulepov dmitry.dulepov at gmail.com
Wed Apr 22 20:57:15 CEST 2009


Hi!

Yolf wrote:
> Is there a specific reason for trimming the translation values left and
> right? trim instructions used in the method createEditForm_getItemRow
> and saveSubmittedData in the class tx_llxmltranslate_module1 remove the
> right white space that may be useful in the translation. Why not having
> only a ltrim or a trimmming which keeps only one right white space when
> it exist ?

I think the reason behind it is that spaces are not used for formatting on the web. Formatting should be made with styles, not spaces.

-- 
Dmitry Dulepov
In TYPO3 blog: http://dmitry-dulepov.com/article/one-day-typo3-performance-improvement.html
LinkedIn: http://www.linkedin.com/in/dmitrydulepov
Twitter: http://twitter.com/dmitryd
Skype: liels_bugs


More information about the TYPO3-translators mailing list