Hi,
I've a javscript file for every page. In this file some values for select list and error messages are set.
I load the javascript with
<script type="text/javascript" src="#IMAGE_PREFIX#GGB/SCRIPT/F104/P1.js">
I would like to have for every language of my application a own javascript file
i.e. P1_en.js, P1_de.js, P1_fr.js loaded.
How can it be done that P1_de.js is loaded if browser language is "de".
I thought about the possibility to do this with application translation. Because when I translate an application I create somehow a new one with another id, can I anyhow access these applications and change the script-tag in the pages?
Or do I have to change the script-tag in the main application and then apply the language file and publish it. Will this work?
Thanks
chrissy