Table "Node" Field "language"

superjacent's picture
public
superjacent - Fri, 2008-06-20 04:45

Drupal 6.x. Table "node".

What should the value of the "language" field be if the displayed text is Chinese.

If a value is required, are there any other things that need to be done so that Chinese symbols are correctly displayed.

Any help appreciated.

Steve
http://prime357.org

ps. I've got a thread running at my site which I think this may be a part issue to it. As you can imagine it's becoming very confusing as all I see is either unicode or Chinese symbols (can't read Chinese).


It seems like the language

superjacent's picture
superjacent - Sat, 2008-06-21 08:22

It seems like the language field of the node table has no bearing on whether Chinese symbols are displayed or not. The reason for the question in the first place no longer stands as my user from China is now happily modifying his new site (http://doexcel.com) which was converted from Wordpress 2.5.

The problem surrounded an issue with Wordpress 2.3, it was encoded as Latin. User updating to Wordpress 2.5, which is encoded as utf8 and then converted, all went smoothly.

I'd still like to know the purpose of the language field, if any.

Steven Taylor
Melbourne Australia
http://prime357.org


Translation

Intchanter's picture
Intchanter - Sat, 2008-06-21 14:05

I believe it's mostly there to facilitate translation. On a multilingual site, you can install modules that allow particular users to create alternate versions of a node in other languages.

Some examples are the Translation and Active Translation modules.


Thanks

superjacent's picture
superjacent - Sun, 2008-06-22 01:31

Thanks

Steven Taylor
Melbourne Australia
http://prime357.org


displaying Chinese

jredding's picture
jredding - Mon, 2008-06-23 19:25

Drupal stores in UTF-8 so there is no problem with storing and displaying Chinese characters with Drupal. The difference however is if the user's browser/OS correctly interprets that but that's not a problem you can solve.

Intchanter is correct about the language settings.

in other words, you don't need to do anything to display Chinese characters in Drupal.

-Jacob Redding