An open API service indexing awesome lists of open source software.

https://github.com/koddr/tutorial-go-i18n

๐Ÿ“– Tutorial: An easy way to translate your Golang application
https://github.com/koddr/tutorial-go-i18n

go golang i18n languages tutorial tutorial-code tutorial-sourcecode

Last synced: 8 months ago
JSON representation

๐Ÿ“– Tutorial: An easy way to translate your Golang application

Awesome Lists containing this project

README

          

# ๐Ÿ“– 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](https://user-images.githubusercontent.com/11155743/114465331-a6088f80-9bef-11eb-9d2f-b677e1d5115a.jpg)

## Quick start

1. Clone this repository.
2. Start project:

```console
make run
```

3. Go to [localhost:3000](http://localhost:3000) and see:

![Screenshot](https://user-images.githubusercontent.com/11155743/114465381-b587d880-9bef-11eb-9e2b-c09cf963ac14.png)

4. Play with other languages (๐Ÿ‡ช๐Ÿ‡ธ Espaรฑol or ๐Ÿ‡ท๐Ÿ‡บ Russian) and `unread` query param.
5. 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](https://liberapay.com/koddr/donate). _Each donation will be used to write new articles and develop non-profit open-source projects for the community._

[![Support author at LiberaPay](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zq8442cqyjq2i1jdeay8.png)](https://liberapay.com/koddr/donate)

## โš ๏ธ License

MIT ยฉ [Vic Shรณstak](https://shostak.dev/) & [True web artisans](https://1wa.co/).