This plugin is outdated and might not be supported anymore
Localize js

Localize js

Details
View on WordPress

WordPress has the function wp_localize_scripts for translation, but the strings passed to it have to be hard-coded. Until you parse the .js-files and scan for occurrences of _e() with a fast regexp, and localize them with the data using the WordPress _e-function to localize from a .po file. *Note*. Your po-file has to include strings from javascript files. To do this in Poedit, see http://stackoverflow.com/questions/16557327/how-to-generate-po-file-from-js-file-using-poedit.

Details

Plugin code:
localize-js
Plugin version:
1.0
Outdated:
Yes
WP version:
3.0 or higher
PHP version:
or higher
Test up to WP version:
4.01
Total installations:
0
Last updated:
2014-12-11
Rating:
Times rated:
0
i18n
javascript
l10n
multilingual
po
translation
wordpress-org