Elxis CMS Forum

Support => General => Topic started by: momo-i on September 19, 2007, 04:03:38

Title: few problems and fixed
Post by: momo-i on September 19, 2007, 04:03:38
Hi, everyone.

I am doing a Japanese translation of Elxis now.
There were some parts where the correction was necessary in that.

administrator/components/com_massmail/admin.massmail.php line 92
mass email variables problem.
Code: [Select]
-               $message_header = $adminLanguage->A_CMP_MM_MFROM.' '.mosConfig_sitename._LEND._LEND;
+               $message_header = $adminLanguage->A_CMP_MM_MFROM.' '.$mosConfig_sitename._LEND._LEND;

administrator/modules/mod_fullmenu.php line 264 and 283
admin menu translation problem
Code: [Select]
-                       [null,'Modules',null,null,'<?php echo $adminLanguage->A_MENU_MODULE_MANAGMENT?>',
+                       [null,'<?php echo $adminLanguage->A_MENU_MODULES?>',null,null,'<?php echo $adminLanguage->A_MENU_MODULE_MANAGMENT?>',

-                       [null,'Mambots',null,null,'<?php echo $adminLanguage->A_MENU_MAMBOT_MANAGMENT?>',
+                       [null,'<?php echo $adminLanguage->A_MENU_MAMBOTS?>',null,null,'<?php echo $adminLanguage->A_MENU_MAMBOT_MANAGMENT?>',

Are there any problems though I am remodeling part excluding the above-mentioned correction to have to use iso-2022-jp with Japanese mail?

thanks.
Title: Re: few problems and fixed
Post by: datahell on September 19, 2007, 08:05:47
Elxis has been build for 1 encoding: utf-8. You can display japanese using utf-8. Why to use iso-2022-jp? I also did no understood where is the problem with that specific lines.
Title: Re: few problems and fixed
Post by: momo-i on September 19, 2007, 10:30:16
Hi, datahell

The code that I posted is not a fix of the mail of iso-2022-jp.
When I am translating Japanese, it is a fix of the part not translated into Japanese.

> Why to use iso-2022-jp?
As for the mail client used well in Japan can usually be understood only iso-2022-jp.
Therefore, even if the display of Web is UTF8, the submission of mail should be converted into iso-2022-jp and be submitted.

A general mail header in Japan is as follows as the example.

Subject: =?ISO-2022-JP?B?T........
Date: Wed, 19 Sep 2007 15:15:27 +0900
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-2022-JP"
To: webmaster@example.com
Content-Transfer-Encoding: 7bit
From: webmaster@example.com

Thanks.