In angular translation service, interpolating params in normal translation json works well. But in nested json, interpolating params is not working. My JSON: My Angular Code: Expected Output: Actual Output: Answer According to the source of ngx-translate interpolation works only on strings: This means you might need to use an array of keys instead of a non-leaf element:
Tag: angular-translate
Is there a way I can automate the creation of .json files used for language translations?
I have files such as this that have translation keys and values: When I add a new translation key to the JSON file containing the English translations for example, I must remember to add that key and the associated translation to all the other JSON files. All the JSON files are also edited separately. The process is laborious and error