hi people,
im in a bottle-neck situation here, after working hard on a web-application. my boss wanted it to be multilingual. the web-application is in English, my boss wants to add arabic, french, spanish and some other language i dont remember.
im almost finished with the whole application (in English) and i have no experience in this language conversion thing. so i was wondering if theres anyone here who can help me out?
Best multilingual express solution
Started by amrosama, Aug 04 2009 09:49 AM
4 replies to this topic
#1
Posted 04 August 2009 - 09:49 AM
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
www.amrosama.com | the unholy methods of javascript
|
|
|
#2
Posted 04 August 2009 - 09:56 AM
At some point, somebody will have to do the translation (manual or through a tool). Then it's just a matter of selecting the right language to display based on user preference. The details, of course, are in the web-language (PHP?) and where the content is coming from.
#3
Posted 04 August 2009 - 10:06 AM
oh sorry i forgot to mention that.
im using PHP5
but the content is really tricky because, the multilingual system content that will change according to language is:
-static HTML pages : easy
-input forms (stuff like new customer input): can be tricky because database must accept english only since i use some fields in queries and search
-reports and quiries :S
is there hope?
im using PHP5
but the content is really tricky because, the multilingual system content that will change according to language is:
-static HTML pages : easy
-input forms (stuff like new customer input): can be tricky because database must accept english only since i use some fields in queries and search
-reports and quiries :S
is there hope?
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
www.amrosama.com | the unholy methods of javascript
#4
Guest_Jordan_*
Posted 04 August 2009 - 03:41 PM
Guest_Jordan_*
You could use a phrasing system for the static pages/words. Depending on the language selected, it would change.
As for the user submitted content you could use Google analytics. There is a Word Press tool that automatically converts all blog posts into several languages using this. You may want to look into that and see how that works.
Posted via CodeCall Mobile
As for the user submitted content you could use Google analytics. There is a Word Press tool that automatically converts all blog posts into several languages using this. You may want to look into that and see how that works.
Posted via CodeCall Mobile
#5
Posted 08 August 2009 - 04:34 PM
It's possible to translate your site, but it might be tricky. I assume you have a directory with all content in it? For starters, I would create a second directory with all translated files.
If you have your content in a database, you could just add a column to the table with the language. So in your site, you need to select a language.
Technically it's all not so difficult, but you must be careful not to repeat too much of your code. If you have to change something in 15 different places in order to make a change to your system, you're in trouble.
If you have your content in a database, you could just add a column to the table with the language. So in your site, you need to select a language.
Technically it's all not so difficult, but you must be careful not to repeat too much of your code. If you have to change something in 15 different places in order to make a change to your system, you're in trouble.


Sign In
Create Account


Back to top









