Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
app
config
i18n
static
views
.gitignore
README.md
aah.project

README.md

Example - i18n URL Path Parameter

This example demonstrates i18n - Internationalization with aah framework using URL Path Parameter. By applying aah configuration and convention, zero coding effort can be achieved on this aspect.

Application has below route URL pattern -

/page/:language/index.html

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-path-param

Visit this URL

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

Localized URLs: