[haiku-i18n] Re: Improving while localizing strings

  • From: Adrien Destugues <adestugu@xxxxxxxxx>
  • To: haiku-i18n@xxxxxxxxxxxxx
  • Date: Fri, 07 Jan 2011 08:26:07 +0100

Le jeudi 06 janvier 2011 à 15:23 -0800, scott mc a écrit :
> Anyone know if the quotes in Drive Setup need to be escaped if the
> language being translated to doesn't use the normal quotes?
> 
> Disk system \"%s\"\" not found!
> 
> See the Romanian entry to see what I'm talking about.
> 
> -scottmc
> 

No, they don't. The rules are the same as in C string, only two chars
need escapement, " and \. Newlines and tabs needs to be replaced by \n
and \t. That's all. I believe no other escape sequences are recognized
by the tool (but there may be some more, I'm not too sure).


Other related posts: