You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is also possible to have the above li node with fallback text
already in place.
Unfortunately I don't get this work. When I don't have message-key in the language file then JQuery.i18n displays instead of Fallback text the key: message-key
My question:
What am I doing wrong? As soon I add the key to the language file then it gets replaced, so apparently the language file is loaded correctly and also the function calls seem to work.
Check the other issues. The developer apparently stopped maintaining it and doesn't even bother to reply. I am thinking about a fork with the fixed code but I am unfortunately too busy as I would have to "generalise" it.
I am using the library and a heavily localised project and it works very reliable. It's a pity to waste such a good project.
I am referring to https://github.com/wikimedia/jquery.i18n#data-api in the JQuery.i18n documentation:
Unfortunately I don't get this work. When I don't have
message-key
in the language file then JQuery.i18n displays instead ofFallback text
the key:message-key
My question:
What am I doing wrong? As soon I add the key to the language file then it gets replaced, so apparently the language file is loaded correctly and also the function calls seem to work.
I posted the solution/fix on Stackoverflow.
The text was updated successfully, but these errors were encountered: