I'm translating my app using i18next, but it only translated part of the app.
In my app, I use coffeescript
with extension Craftyjs
, and while some things as the buttons and some text have translated, other haven't.
One example of what didn't translate will be:
btnLearn.replace '<div id="learn-mode" class="learw">#{__("LEARN HERE")}</div>'
But this did translate well:
btnWrapper.replace """
<div class="btn-golden" id="teach"><i class="btn-goldenw"></i><span class="btn-goldenw-body">#{__(" TEACH HERE ")}</span><i class="btn-goldenw-right"></i></div>
"""
Any ideas what can I do to get the translation correctly done?