当前位置: 动力学知识库 > 问答 > 编程问答 >

internationalization - jquery-i18n-properties taking more time to change page language

问题描述:

I am using jquery-i18n-properties for internationalizaion of my web site. My problem is when i change the language from combobox it takes too much time to translate page.

This is my configuration:

 jQuery.i18n.properties({

name:'Messages',

path:'prop/',

mode:'both',

language: lang,

cache:true,

callback: function() {

jQuery('#welcome_title').html(jQuery.i18n.prop("welcome.title"));

});

When am testing on local it takes 1 sec. and on EC2 it takes 2 sec to translate page. How can i overcome with this problem?

分享给朋友:
您可能感兴趣的文章:
随机阅读: