Skip to content

Multi language

Wayne edited this page Nov 27, 2018 · 2 revisions

Default Language

The application default language is Chinese, change the culture code to en-US to use English in appsettings.json

"Culture": {
  "Code": "en-US"
}

Translate

You can translate some text to default language by use @L("Text") in razor. Then go to /admin/Language to add translation. All the translations are in Language table.

Multi-language

Only Enterprise Edition can build multi-language web site.

Enable multi-language

Go to /admin/CultureSetting/Config page to enable multi-language:

image

Then you can translate text to multi-language /admin/Language and can create multi-language pages, articles, products, other contents:

image