This example demonstrates i18n - Internationalization with aah framework using URL Query Parameter. By applying aah configuration and convention, zero coding effort can be achieved on this aspect.
The application has below route URL pattern -
/?lang={language}
Learn how i18n works in aah - https://docs.aahframework.org/i18n.html.
git clone https://github.com/go-aah/examples.git aah-examples
cd aah-examples/i18n-url-query-param
aah run
Go to home page, click on language links to see i18n in action.
- Home page : http://localhost:8080
Localized URLs: