2008/5/1 2:50:27
|
---|
|
[HOWTO] Convert old ISO to UTF-8 for ICMS 1.1How to convert old and unmaintained translations from ISO to Unicode UTF-8*
* UTF-8 without Byte of Mark 1. U need editor like NotePad Plus, u can get it from http://notepad-plus.sourceforge.net/uk/news.php?lang=uk 2. Open the selected file from modules\module-name\language\selected-language\thefile.php Now press CTRL+A for Select All, then CTRL+C to copy the selection into your clipboard, then pick the drop-down menu format, and select Encode in UTF-8 without BOM and press CTRL+V to paste it from your clipboard, then save it and re-upload it to your XOOPS 2.2/Impress 1.1 language folder. BUGS: If u click by mistake Encode in UTF-8 u will get blank page. OOPS core can't recognize UTF-8 encoded files. You can solve the blank page problem, by repeating the above procedure. If u do this for XOOPS 2.0.18.1, u will get everything else as symbols on your screen, but not your language :) If u wanna try this on XCL, feel free to do it and report any results :) The following procedure works on any XOOPS up to phppp 2.0.17.1, and there is no need to apply "USE MULTIBYTE 1" in your language\global.php. For OOPSes up to 2.0.17 (from 2.0.7.3), u simply have to set in global.php UTF-8 instead of ISO, and to add to your .htaccess the following line. PHP_FLAG default_charset UTF-8 |
_________________
May The Source Be With You ! Translations & Web Design ImpressCMS Bulgaria CMS Bulgaria - Translation, Templates, Support, Hosting |
2008/5/1 3:14:48
|
---|
|
Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1I hate GUI which slow my works down.
I usually use nkf to convert things to UTF-8 (without BOM) as following:
$ cd /path/to/language/directory
$ nkf -w --overwrite *.php *.tpl *.html
iconv also can do the same task. Quote:
|
2008/5/1 3:20:34
|
---|
|
Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1Nice addition, but I prefer Vista over Beryl and Gentoo, probably most of the users/devs and translators are on Windows eXtra Problems :)
|
_________________
May The Source Be With You ! Translations & Web Design ImpressCMS Bulgaria CMS Bulgaria - Translation, Templates, Support, Hosting |
2008/5/1 3:38:37
|
---|
|
Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1Quote:
Yes, this is my case. |
2008/5/1 4:14:19
|
---|
|
Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1Quote:
Yes, exactly iconv can do this, this is the method we've used to change database to utf-8 ... |
2008/5/1 4:23:39
|
---|
|
Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1There is a faster way to save the files of translation into UTF-8?
ps: I am using Windows XP If not, I'm saving file by file, has no problem. |
2008/5/1 4:41:17
|
---|
|
Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1Try with this tool
http://software.techrepublic.com.com/abstract.aspx?docid=232511 Not verified for UTF-8 without Byte of Mark, the described way is more secure at least for me, slow but where should goes the fun then if everything is converted with one shot |
_________________
May The Source Be With You ! Translations & Web Design ImpressCMS Bulgaria CMS Bulgaria - Translation, Templates, Support, Hosting |
2008/5/1 4:46:01
|
---|
|
Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1Thank you for the useful help on this topic ep98!
|
2008/5/1 4:46:02
|
---|
|
Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1Exelent Sugestion
Quote:
I try now Thanks again. |
2008/5/1 6:11:34
|
---|
|
Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1Yes, work fine
Revision 1917 Automatic, using software charsc indication by ep98, thanks. Moment Zen (Revision) Ual, Revision 2000 is next. |
2008/5/2 3:34:18
|
---|
|
Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1Quote:
yup ^^ still 29 commits left! Mr theme, I think you need to make a new logo |
2008/5/2 3:42:57
|
---|
|
Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1Off-topic continue: sorry...
Quote:
Total Agree Mr Theme logo, new logo, new logo |
2008/5/2 4:12:23
|
---|
|
Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1:)
I'm glad this small howto helps someone, going off for a few days, have to finish Sigsiu.NET translation, J1.5.3 synchronization, and few other plugins .... Impress was a bit late, back in monday with new 500 gigs hard drive :) |
_________________
May The Source Be With You ! Translations & Web Design ImpressCMS Bulgaria CMS Bulgaria - Translation, Templates, Support, Hosting |
2008/5/3 3:55:58
|
---|
|
Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1off topic again, sorry
Hi, revision stranger 1999 I think the honour of the 2,000 should be of it stranger, great work, great participation. Oops confirmated |