I18n not working in Dialogflow


Hello! how are they?

I have the following problem. I’m using i18n for multi-language and the this.l(‘key’) function doesn’t work for me in Dialogflow but it does work on the debugger.

Any idea why it might be?

Best regards


What did you call your translation file, e.g. en-US.json? Dialogflow uses just en, so your problem might be solved by renaming your i18n file to en.json.


Yes, indeed it is!

Thank you for the answer.