[Phpmyadmin-devel] Field Value Separators in Translation Strings

Michal Čihař michal at cihar.com
Thu Jun 26 22:51:32 CEST 2014


Dne Fri, 27 Jun 2014 00:26:29 +0530
Dhananjay Nakrani <dhananjaynakrani at gmail.com> napsal(a):

> I was looking into the translations of PMA. On the translation server, I
> found strings with colon (:) in them.
> For example see code at [0].
> Shouldn't colon be outside '__()'function? That would keep all the
> field-value separators like colon away from the translation strings.

The reason for that is that different languages have different colons
(even if I skip some weird things, depending on charset used, unicode
has two colons, one for standard charsets and one for double width
like Chinese or Japanese - : and :). And even if they have same
colon, they for example expect to have space before it...

Generally, the string to translate should be always complete string you
see in the UI, otherwise it's really hard to translate it properly into
some languages.

	Michal Čihař | http://cihar.com | http://phpmyadmin.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20140626/fb59ca54/attachment.sig>

More information about the Developers mailing list