Hi,
are there php based solutions (?!) for making a multilingual web site?
Regards,
Adrian
multilingual php site
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
10x
ok, I myself used a tool (Language Manager) and also the database solution but I wanted to see if php developers thought at something special
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
The multilingual work I've done, both sites and software have used stored, precompiled (or as close as you can get to it) lists of all the words or phrases used in the software.
Although I like databases more, I believe it takes more time to load all the data from the database than it does from a "static" file. However, with files, you can get into weird synchronization problems if you forget to update language_z after updating language_x. So one thing that can be done is use a database for the actual content, and auto-generate a "compiled" file of the language data whenever that table is updated (on demand, or as a function of the CMS system you use)
Although I like databases more, I believe it takes more time to load all the data from the database than it does from a "static" file. However, with files, you can get into weird synchronization problems if you forget to update language_z after updating language_x. So one thing that can be done is use a database for the actual content, and auto-generate a "compiled" file of the language data whenever that table is updated (on demand, or as a function of the CMS system you use)
Dynamic Translation
I've been thinking in terms of dynamic translation using the babelfish API coupled with nusoap. Does this ring any bells ?
Any dynamic translation will only ever reliably convey the gist of what is being said in the original language. Have a look see at the results google gets when it translates sites (search for something in a foreign language then click on the "translate this page" link in the google results), and think whether this level of language (usually understandable with a little imagination) is good enough for your site.
If people are not specifically aware that you're using dynamic translation to render your site in other languages, then I don't see them taking the site very seriously... so lots of disclaimers.
If the site is going to be some form of professional site, save your reputation and pay for a translation.
If people are not specifically aware that you're using dynamic translation to render your site in other languages, then I don't see them taking the site very seriously... so lots of disclaimers.
If the site is going to be some form of professional site, save your reputation and pay for a translation.