Hi,
I would like to get the language string through a variable, is it possible? or any update available?
var message_code = "please_fill_all_the_mandatory_fields";
await this.showSnackbar(strings.message_code)
and my language file
en:{
please_fill_all_the_mandatory_fields:"Please fill all mandatory fields.",
}
Actually, it looks for the "message_code" value, but I want the value of "please_fill_all_the_mandatory_fields", because i need to get languages dynamically through API response.
Hi, I would like to get the language string through a variable, is it possible? or any update available?
and my language file
Actually, it looks for the "message_code" value, but I want the value of "please_fill_all_the_mandatory_fields", because i need to get languages dynamically through API response.
Thanks in advance