jquery-localization-tool icon indicating copy to clipboard operation
jquery-localization-tool copied to clipboard

Random Elements dont get translated

Open lreiner opened this issue 6 years ago • 0 comments

Its weird and I dont know how to reproduce this bug but somehow some elements get translated and some of them dont. For example if I have this html:

<a href="#" class="customBlueButton" onclick="openModal('#EditView', true,4)">edit</a>

the "edit" doesnt get translated.

but somehow this line:

<a href="#" class="customBlueButton" onclick="openModal('#AddUser', false)" style="direction: ltr;">some text</a>

does get translated.

But the translation string syntax for both is without errors:

edit: {en_GB: "edit", de_DE: "ändern"}
some text: {en_GB: "some text", de_DE: "ein text"}

I dont know whats happening here but I double checked the strings for translations and everything. No errors there.

Maybe you guys know whats happening here?

lreiner avatar Oct 01 '19 10:10 lreiner