Quantcast
Channel: polylang – WordPress.org Forums
Viewing all articles
Browse latest Browse all 11471

Chouby on "[Plugin: Polylang] Translate text or html string inside a jquery file"

$
0
0

I've translated many strings of the wp theme using pll__ or pll_e in php files

Static strings should be translated with __() or _e() (and translations managed by .po/.mo files) rather than pll__() and pll_e() which are made for theme options.
That's a pity that themeforest accepts non internationalized themes. It makes it useless for more than a half of WP users.

How is your enqueued your javascript file?


Viewing all articles
Browse latest Browse all 11471

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>