EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: jaimi on August 28, 2012, 11:48:06 PM



Title: locale file
Post by: jaimi on August 28, 2012, 11:48:06 PM
I'd like to change the messages from english to german.
Where do I have to set the locale file?



Title: Re: locale file
Post by: stworthy on August 29, 2012, 02:50:40 AM
Please include the 'locale/easyui-lang-de.js' file in your page head.

Code:
<script type="text/javascript" src="../jquery.easyui.min.js"></script>
<script type="text/javascript" src="../locale/easyui-lang-de.js"></script>


Title: Re: locale file
Post by: jaimi on August 29, 2012, 10:40:29 AM
Thanks :)


Title: Re: locale file
Post by: baxter on September 04, 2012, 04:13:29 AM
I loaded with:

Code:
<script type="text/javascript" src="/jquery/easyloader.js"></script>
<script type="text/javascript">
$('document').ready(function() {
   easyloader.locale = 'de';
});
</script>