Dynamic Translation Add-on for ExtJs libraryCurrent version is 1.7 (1.7 source uploaded to SVN)
Dynamic string resource loader - Java Translation Service plugin added will handle string ID's to language translations
For example: IX_PANEL_TITLE_1 will be translated to English value 'This id demo panel' or GERMAN 'Das ist demotafel' etc...
});To see how resource string work's read How to use resource strings documentation under downloads section.
See Changes page for more info!
IntroductionThis project is add on scripts for ExtJs http://extjs.com/ library which enables features of dynamic translation of ExtJs GUI components by dynamically loading translations from remote server. Idea is to help developers of this great library to minimize programming effort for translation.
Translations can be retrieved from server side file or translated directly by using Google Translation API.
All translations are cached in browser so already translated texts are not retrieved again from the server. This optimizes speed and translations of new components. New components created by user interaction on web page will be automatically translated to selected language. For more info go to FAQ page.
For Demo application go to downloads. This is compiled demo deployable to any Java Web Server container. Just download Tomcat5/6 , download war file and save it to the "webapps" folder inside Tomcat server.
NOTE: Don't forget to create subfolder extjs3 under webapps of Tomcat server and unzip downloaded ExtJs library inside.
Steps for using demo aplication
Go to http://localhost:8080/extjsdyntran and choose one of the links. Change language on combo box. First time translation will take couple seconds. Try to refresh page to see the speed difference. Translated data will be loaded from cacche. Notice speed difference. If cookies are enabled in browser, try to close browser and then reopen the link. Page will be loaded in language you have selected last time. Features :Dynamic translation by Google Translation Service API Dynamic translation from local file on server after data is translated, it is saved as text files (files can be edited if translation is not satisfying) basic server side support for PHP full server side support for Java through servlet server side translation caching client side translation caching client side caching use component field indexing for faster translation storing translation to cookies; next page load is much faster with already translated texts included demoes and examples; Web Desktop Demo included server side code included (Java, PHP) For list of changes go to Changes page.
All info on installation one can find on Installation info page of this project.
Link to original post : http://extjs.com/forum/showthread.php?t=72978
Use Patent Claims
Include Install Instructions
These details are provided for information only. No information here is legal advice and should not be used as such.