LinuxMCE Forums
May 24, 2013, 12:25:12 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Chinese Translation SOLVED !!!!  (Read 636 times)
samir
Regular Poster
**
Posts: 20


View Profile
« on: May 16, 2009, 07:59:40 pm »

Hi, I am Samir.I have been working on creating new skin for my hotel project. It is now 80% complete. I have solved the problem for displaying chinese characters in linuxmce. Here is what I did.

-first backup the databases pluto_main and pluto media.
-now edit the sql file for pluto_main and pluto_media backup and replace all latin1 with utf8.
-download arialuni.ttf and copy it to /usr/share/fonts/truetype/msttcore
-backup verdana.ttf and Verdana.ttf to new location
-rename arialuni.ttf to verdana.ttf and Verdana.ttf
-drop database pluto_main and pluto_media
-convert the pluto_main and pluto_media backup sql to utf8 format with UTFconverter or recode tool
-create database pluto_main and pluto_media with characterset =utf8 and collation = utf8_general_ci
-backup my.cnf from /etc/mysql
-edit my.cnf and add in mysqld section


  collation_server =utf8_general_ci
  character_set_server = utf8
  skip-character-set-client-handshake
-save my.cnf
-dump the backup database back to mysql
-restart the pc
all was working as I expected.

Hope this will help guys who are doing translations to another language as well.

Regards,
Samir


Logged
dlewis
Guru
****
Posts: 401


View Profile
« Reply #1 on: May 17, 2009, 02:05:09 pm »

Please submit a ticket in Trac.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!