View Single Post

#1
Bookmark and Share!
[PHP] Multi language
Old 2007-01-29

I bet this one's gonna hit you hard! Not.

I've been asked by a client to make a site in three languages. Now, I've never tackled such a task. And I'm pretty sure some of you actually have. So I beg you (*lol*) to share your wisdom with this humble coder. I've been spitting out ideas like using a database table for strings used around the site, and echoing them according to the language, which I may store in a cookie or the session. Then I've been thinking of plain text files, using some king of separator and containing those strings in some order. Both of these will require a strict coordination of string identifiers and their positions on the site. And both will give me the ability to easily outsource the translations if I need so (I speak the 3 languages fluently, but I might be short of time...)

Now please tell me your thoughts. I promise I'll even be around to answer
Chris Hoeppner
Passionate about experience. Faithful about copy.

Freelance coding service for designers. You design. I code. Drop me a pm, and get us talking.
postbit arrow 7 comments | 238 views postbit arrow Reply: with Quote   
Pixware
Registered User
Pixware is offline
seperator
Posts: 1,457
2003-10-16
Age: 24
seperator

Ultrashock Member Comments: