in reply to Java script generation module

I like Javascript, but this is not something I'd use it for. Better to have different versions of the page, one for each language, or generate the page dynamically depending on which language is chosen. Javascript is feasible, assuming a limited number of languages and words per page, but people aren't going to want to have to mouseover to read the page in their own language.

Replies are listed 'Best First'.
it is a great idea-userfriendly!
by chanio (Priest) on Feb 12, 2005 at 19:28 UTC
    Just three things, that might help you:
    • Javascript is not so popular nowadays as you would imagine. So you might simply put the word translation inside a title attribute (See HTML spec) before loading the page (serverside).
    • You could determine the users language by having an IP-Country table-map related with their prefered language (from those that you provide). If the users native language is the same as the original text, then you could save the time of translating the page (it should also, save a lot of memory).
    • You shouldn't face it as a translation resource (that is much more complex), but as a help guide, for people whose mother tongue is different than that of the page.
    You should always provide an option for having the page displayed without any translation before accessing the mentioned page (and keep the option in a cookie).

    Here is a link for further info-ideas: http://www.cpanforum.com/dist/IP-Country

Re^2: Java script generation module
by Anonymous Monk on Feb 11, 2005 at 23:17 UTC
    No I think it's a great idea. The page is NOT translated to the other lang.(Would need grammar too)But to have a translation (espescially) of themespecific words is great.