I think having a lot of text in different languages is not really a popular story, that's why there are not so many solutions for that, but I definetely like yours.
Mine experience is simple. Like everybody else, I'm looking for the simplest i18n solution that exists for that particular language/framework. Like npmjs.com/package/i18n for Node or guides.rubyonrails.org/i18n.html for Rails.
And yeah then I store my translations in YAML (more simple version than JSON in terms of syntax)/JSON files to made i18n plugin access to them.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I think having a lot of text in different languages is not really a popular story, that's why there are not so many solutions for that, but I definetely like yours.
Mine experience is simple. Like everybody else, I'm looking for the simplest i18n solution that exists for that particular language/framework. Like npmjs.com/package/i18n for Node or guides.rubyonrails.org/i18n.html for Rails.
And yeah then I store my translations in YAML (more simple version than JSON in terms of syntax)/JSON files to made i18n plugin access to them.