[Lazarus] i18n and Format()

Michael Van Canneyt michael at freepascal.org
Wed Aug 15 12:33:36 CEST 2012



On Wed, 15 Aug 2012, Mark Morgan Lloyd wrote:

> I note from 
> http://wiki.lazarus.freepascal.org/Getting_translation_strings_right#The_format.28.29_function 
> that "Since format() does not interpret escaped control characters" is struck 
> out and "In the current lazarus version, \n and \t in translated strings are 
> replaced by newline and tab" is appended.
>
> Does this refer to the Lazarus IDE's handling of i18n candidates, or is it 
> saying that \n etc. handling has been added to Format()? In the latter case, 
> what (FPC) version does this apply to?

Format does not handle escape sequences.

Escape sequences are for C-style languages. Pascal does not need it, it has #NN
support.

Michael.




More information about the Lazarus mailing list