Tutorial of i18n - Internationalization and Localization
Goal of this tutorial is to demonstrate aah framework
i18n Path param capabilities. By applying aah configuration and convention. Zero coding effort on this aspect!
Learn more about i18n configuration and how it works refer here.
How to get the aah tutorials source code?
go get -u -d github.com/go-aah/tutorials
Focus on following files/directory:
i18n-url-path-param/i18n/* i18n-url-path-param/config/routes.conf i18n-url-path-param/views/pages/app/index.html
Let’s see it in the action
aah run -i github.com/go-aah/tutorials/i18n-url-path-param
Now visit this URL in your browser :)
Now click on the language links to see i18n in action.
aah, the web framework for Go. Thank you!