Skip to content

Commit

Permalink
go-aah/aah#71 app template update
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevatkm committed Jun 19, 2017
1 parent 9cad3ca commit 18d0ad8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions aah/app-template/config/aah.conf.atmpl
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,18 @@ i18n {
# locale from HTTP Request.
# Default value is `en`.
#default = "en"

# Overriding Request Locale via URL Path or URL Query Param
param_name {
# Specify URL Path Param name i.e. `/:lang/home.html`, `/:lang/aboutus.html`, etc.
# For e.g.: `/en/home.html`, `/en/aboutus.html`, `/zh-CN/home.html`, `/zh-CN/aboutus.html` etc.
# Default value is `lang`
#path = "locale"

# Specify URL Query Param name i.e `?lang=en`, `?lang=zh-CN`, etc.
# Default value is `lang`
#query = "locale"
}
}

# -----------------------------------------------------------------
Expand Down

0 comments on commit 18d0ad8

Please sign in to comment.