Switch branches/tags
Nothing to show
Find file History

README.md

Example - i18n URL Query Parameter

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.

Get aah examples

git clone https://github.com/go-aah/examples.git $GOPATH/src/aahframework.org/examples

Run this example

aah r -i aahframework.org/examples/i18n-url-query-param

Visit this URL

Go to home page, click on language links to see i18n in action.

Localized URLs: