contao/test — Issue #338: Some translations needs to enclose with double quotation marks instead of single quotation marks
Author: taca
Created: 2011-11-29 06:04:03+00:00
State: open
Labels: Defect

Hi,

I found that some translation string needs to describe with double quotation marks instead of single quotation marks.

For example, in system/modules/newsletter/languages/en/tl_module.php:

```
$GLOBALS['TL_LANG']['tl_module']['text_subscribe'] = array('Your subscription on %s', "You have subscribed to the following channels on ##domain##:\n\n##channels##\n\nPlease click ##link## to complete your subscription. If you did not subscribe yourself, please ignore this e-mail.\n");
```

But in system/modules/newsletter/languages/ja/tl_module.php, second member of array() is enclosed with single quotation marks.
So, "\n" dosen't mean newline but backslash + 'n'.

I don't know the exact reason why some language files contain such single quoted strings. I found these files:

* system/modules/backend/languages/ja/tl_task.php
* system/modules/newsletter/languages/ja/tl_module.php
* system/modules/newsletter/languages/pl/tl_module.php
* system/modules/registration/languages/ja/tl_module.php

You can get the real changes from
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/typolight-translations/patches/.
Take care to select utf-8 as character set.

I heard from a translator that he couldn't select the type of enclosing quotation marks.

And I don't know what is the right fix for this problem.

Best regards.

--- _Originally created on December 11th, 2008, at 11:32am (ID 338)_