Switch branches/tags
Find file History
Pull request Compare This branch is even with v0.12.x.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
app
config
i18n
static
views
.gitignore
README.md
aah.project
go.mod

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 aah-examples

Run this example

cd aah-examples/i18n-url-query-param
aah run

Visit this URL

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

Localized URLs: