Table "Node" Field "language"

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by superjacent on June 20, 2008 at 4:45am

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).

Comments

It seems like the language

Posted by superjacent on June 21, 2008 at 8:22am

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

Steven Taylor
Melbourne Australia
http://prime357.net

Translation

Posted by intchanter on June 21, 2008 at 2:05pm

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

Posted by superjacent on June 22, 2008 at 1:31am

Thanks

Steven Taylor
Melbourne Australia
http://prime357.org

Steven Taylor
Melbourne Australia
http://prime357.net

displaying Chinese

Posted by jredding on June 23, 2008 at 7:25pm

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

-Jacob Redding

Australia

Group categories

Location

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /