user75472
user75472

Reputation: 1295

How to develop a project in Japanese language?

I am a php programmer and i have to develop a site in Japanese language using php. I know i have to use unicode for this. But did not find how to install the unicode and how to use it.

It would be great help if anyone provide me solution or the link.

Thanks in advance.

Upvotes: 1

Views: 188

Answers (3)

shinkou
shinkou

Reputation: 5154

As Lukáš Lalinský has stated, unicode is a standard, it is not a piece of software that you can install into your computer. However, if you want to develop PHP websites for the Japanese language, you'll have to have an editor which can display Japanese. i.e. an editor which can map unicode characters with the appropriate (Japanese) fonts. Then, if you want to type Japanese, of course you'll need a Japanese IME (input method editor). My personal picks are vim, Eclipse, or Notepad++ if you're using Windows.

As a side note, you may want to have a look of the following settings in php.ini also:

  • mbstring.language
  • mbstring.internal_encoding
  • mbstring.http_input (actually this should be set to "auto" in general cases)
  • mbstring.http_output

Good luck!

Upvotes: 0

wallyk
wallyk

Reputation: 57794

First, develop it in English, and reasonably debug it. Then use one of the multi-language kits (such as gettext) to add .jp translations.

Upvotes: 0

Lukáš Lalinský
Lukáš Lalinský

Reputation: 41316

Unicode is not something you install. It's a standard. The most common way is to make sure you are using the UTF-8 encoding for everything on the site (HTML output, database, etc.). The rest depends on how the content/translations are going to be handled, but there is nothing particularly special about Japenese from technical point of view.

Upvotes: 4

Related Questions