developing a website in japanese language

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Preethi
Forum Newbie
Posts: 5
Joined: Tue May 04, 2010 7:47 am

developing a website in japanese language

Post by Preethi »

Hi,

This might be a very basic question but as i'm a newbie i dont have any idea how to proceed

I have a requirement where i have to develop a website in japanese langues where students who learn japanese take up exams(fill in the blanks, choose the best answer)

I am ready with all the designs(db, functioanl, technical) but dont know how to proceed with the language part. How to create it in japanese language :(

Please help.

Thanks in advance
rnoack
Forum Commoner
Posts: 34
Joined: Mon May 03, 2010 12:38 am

Re: developing a website in japanese language

Post by rnoack »

this has little to do with php... the php code itself is not in any "language" . php is the language.
the Japanese part will only be in your content itself. and it will not impact your programming.
Preethi
Forum Newbie
Posts: 5
Joined: Tue May 04, 2010 7:47 am

Re: developing a website in japanese language

Post by Preethi »

Yeah, Thats true. I completely agree with that.
What I'm trying to get help of is as, how to store japanese text which is entered, in the database and how to show it in the front end.

Thanks.
User avatar
Apollo
Forum Regular
Posts: 794
Joined: Wed Apr 30, 2008 2:34 am

Re: developing a website in japanese language

Post by Apollo »

If the language would have been French instead of Japanese, would you know how to do it?
(If yes, then just do the same for Japanese :))
Preethi
Forum Newbie
Posts: 5
Joined: Tue May 04, 2010 7:47 am

Re: developing a website in japanese language

Post by Preethi »

Thats a good joke :)
Could be of great help if anyone could 'genuinely' help me with this problem. I'm not talking about any language in specific.
I want a way out for any foreign language other than english.

Thanks.
Preethi
Forum Newbie
Posts: 5
Joined: Tue May 04, 2010 7:47 am

Re: developing a website in japanese language

Post by Preethi »

User avatar
Apollo
Forum Regular
Posts: 794
Joined: Wed Apr 30, 2008 2:34 am

Re: developing a website in japanese language

Post by Apollo »

Preethi wrote:Thats a good joke :)
I was not joking :)
For any language, including Klingon, just be consistent with the encoding type you use - that is, use the same in your HTML pages as well as your database, collations, everywhere. And obviously, use an encoding that actually contains characters for the language you want to use. So not blindly use iso8859-1 or latin1 and then try putting Japanese content in there. To keep things simple: if you use UTF-8 at all times you should be safe.
Preethi
Forum Newbie
Posts: 5
Joined: Tue May 04, 2010 7:47 am

Re: developing a website in japanese language

Post by Preethi »

Apollo wrote:
Preethi wrote:Thats a good joke :)
I was not joking :)
For any language, including Klingon, just be consistent with the encoding type you use - that is, use the same in your HTML pages as well as your database, collations, everywhere. And obviously, use an encoding that actually contains characters for the language you want to use. So not blindly use iso8859-1 or latin1 and then try putting Japanese content in there. To keep things simple: if you use UTF-8 at all times you should be safe.
Thank you for your help. :)
Post Reply