NWSTech
01-29-2008, 01:38 PM
hello all,
i currently have a few xhtml/wml (php/mysql) sites and im wondering if anyone knows of any way to dynamicly/automaticly traslate the pages for different users - the sites get accessed by users using mobile/cell phones so google translation is not the easiest to use.
im just wondering if theirs an automated way to do it without pullin all the text in site out to variables to translate it
cheers
liam_tmt7
01-29-2008, 06:43 PM
no I wouldnt think you would be able to get software like that.
You could create a splash page for a language selection, then redirect users to different sites dependandt on language.
Would mean creating a site for each language, and creating every page in every language but I cant think of any other way for it to work.
Liam
Codebird
01-29-2008, 07:01 PM
no I wouldnt think you would be able to get software like that.
You could create a splash page for a language selection, then redirect users to different sites dependandt on language.
Would mean creating a site for each language, and creating every page in every language but I cant think of any other way for it to work.
Liam
No I think his idea of variables is better at the place of making many pages... but only if the languages are all written in the same direction
NWSTech
01-30-2008, 03:43 AM
thanks, thats about what i expected to have to do. *goes to look up how open source scripts use language files*
csparks
01-30-2008, 10:58 AM
the best solution is to build a database with the data for each language, then include the appropriate data based on language selection. for example "select data from content where language=english
Of course your php script should scrub the selected language before it uses it to call the data from the database(I am sure this did not come out right, but I hope you get the idea);