I would like to retrieve a formatted translation like
translator.jsAPI but I couldn't find a way to retrieve a formatted string and I don't have a clue how to get only the string (to format it myself). Any hints? I know I'm missing something here, maybe I didn't drink enough coffee today?
To get the current language, execute
translator.getLanguage(). Fallbacks are automatically handled by the translation engine, so even a language with no translations for
error.json, for example, will have an english version of that file in its translations folder.