i18next json dot in key or label -


js: i18n.t("some text translated.")

json: "some text translated.": "een stukje tekst om te vertalen"

i18n.t("some text translated.") gives me "some text translated.".

if remove "." (dot) label , function t, text translated.

how solve this?

documentation explains dot default treated key separator. can

  • replace dot .
  • put dot outside translated string i18n.t("some text translated") + "."
  • change key separator

    you can change namespace and/or key separator setting options on init:

    nsseparator = ':::' keyseparator = '::' 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -