koddr / tutorial-go-i18n

📖 Tutorial: An easy way to translate your Golang application
https://dev.to/koddr/an-easy-way-to-translate-your-golang-application-5ege
9 stars 1 forks source link
go golang i18n languages tutorial tutorial-code tutorial-sourcecode

📖 Tutorial: An easy way to translate your Golang application

👉 The full article is published on April 13, 2021, on Dev.to: https://dev.to/koddr/an-easy-way-to-translate-your-golang-application-5ege

article preview pic

Quick start

  1. Clone this repository.
  2. Start project:
make run
  1. Go to localhost:3000 and see:

Screenshot

  1. Play with other languages (🇪🇸 Español or 🇷🇺 Russian) and unread query param.
  2. For JSON view, add format=json to the query params.

P.S.

If you want more articles like this on this blog, then post a comment below and subscribe to me. Thanks! 😘

And, of course, you can support me by donating at LiberaPay. Each donation will be used to write new articles and develop non-profit open-source projects for the community.

Support author at LiberaPay

⚠️ License

MIT © Vic Shóstak & True web artisans.