-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(admin-ui-plugin): Add Chinese to the default available languages
- Loading branch information
1 parent
91cff38
commit 46ff932
Showing
2 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
import { LanguageCode } from '@vendure/core'; | ||
import path from 'path'; | ||
|
||
export const DEFAULT_APP_PATH = path.join(__dirname, '../admin-ui'); | ||
export const loggerCtx = 'AdminUiPlugin'; | ||
export const defaultLanguage = LanguageCode.en; | ||
export const defaultAvailableLanguages = [LanguageCode.en, LanguageCode.es, LanguageCode.zh]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters