I have some clients who are not English speaking. They would like the JavaScript I write for them to be in another language.
Can browsers understand other languages, or am I limited to non-English comments?
navigateur.nomApp.indice("Microsoft")
Instead of :
navigator.appName.indexOf("Microsoft")
You can get any object and assign it to a variable with a French name for instance
Then use it wherever, it’s just the keywords that are restricted to Javascriptish.
It still has to make sense though, whatever language you are aiming for.