21 Jan 2010 5:25 PM #21
i18n with Ext.js: Resource Bundles!
I wonder if you encountered any performance issue with this solution. We have to wait for *.properties file to be loaded and then parsed before we can call 'getMsg' function. The *.properties might be long and we might have many *.properties files in an entire application.
I wonder if loading *.js files would improve the performance.
25 Feb 2010 8:38 PM #22
I have updated the i18n component. In this version I just fixed a bug with the guessing Language method from browser. Thanks to Slam Ham for the feedback on that bug.
I'm working also in the documentation and I will try to get something posted in my site as soon as I can.
Latest version is 0.2.1
Download at: http://elmasse.gaver.nl/index.php/download-menu
Thanks all for your comments!
25 Feb 2010 8:43 PM #23
@ tungchau: I have been working with this implementation in many sites. Up to now I didn't experience any issues with DataStore. But if you have time and want to do some benchmark test I will be pleased to see the results and to help you to improve this solution.
When I started with this, my intent was just to reuse my .properties files I had in my J2EE applications and the idea was to not create something in server side to parse or to create new files. So, it is very probable that this one is not the better approach but to me it works acceptable.
Any comment is more than welcomed!
25 Feb 2010 8:52 PM #24
One more thing. In version 0.2.1 now you can specify the request method for the HttpProxy to retrieve the files and its default value is GET in case you don't specify it.
27 Feb 2010 2:59 PM #25
21 Jun 2010 5:15 PM #26
24 Jan 2011 8:33 AM #27
i want to integrate your library, but it not works now with 3.3.1. When i use your example, i get
the follow Error-Message in IE
Details zum Fehler auf der Webseite Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E) Zeitstempel: Mon, 24 Jan 2011 16:31:16 UTC Meldung: Zugriff verweigert Zeile: 9 Zeichen: 18711 Code: 0 URI: file://....I18N/ext/adapter/ext/ext-base.js
7 Dec 2011 1:04 AM #28
Bundle is not defined
I am trying to use i18n Resource Bundles with Ext JS 4.0 which you had provided. but not able to make it work completely.
My Application_en-US.properties file loaded successfully at the time my desktop started but i cannot use bundle.getMsg('grid.title'). Firefox gives me an error. that Bundle is not defined.
Please help me to solve my this problem
24 Jan 2012 3:59 AM #29
I am facing the following error in IE: Access is denied
when I checked in bugzilla in firefox I found out the following error message:
Access to restricted URI denied" code: "1012
please suggest a solution.
25 Jan 2013 2:21 PM #30
May I ask what kind of license does the library have? Our company has a list of approved licenses such as Apache, LGPL, etc. I'm wondering if this library is using these common licenses. Thanks.