how does the translation funciton work in js file
-
hello:
I have one plugin containing some js translation files, in the js file using translating function like __(“aaa”,”some-domain”). In the template file, loco has extracted the text “aaa”, and I have translated aaa to destination language, and complied into mo file, but when browsing the page, it’s still the original translated text, so how to translate js file correctly?
thans a lot!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘how does the translation funciton work in js file’ is closed to new replies.