[TYPO3-translators] Trimming of the translation values
Yolf
yolf.typo3 at orange.fr
Wed Apr 22 21:18:33 CEST 2009
Dmitry Dulepov a écrit :
> 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.
>
I'm not talking about formatting but having a localization tag ending by
one space because you add something after. It an alternative solution of
introducing the space using concatenation.
More information about the TYPO3-translators
mailing list