diff --git a/pkg/locales/all_locales.go b/pkg/locales/all_locales.go index b62220a8..f8fd5171 100644 --- a/pkg/locales/all_locales.go +++ b/pkg/locales/all_locales.go @@ -6,6 +6,7 @@ import "github.com/mayswind/ezbookkeeping/pkg/models" var DefaultLanguage = en // AllLanguages represents all the supported language +// To add new languages, please refer to https://ezbookkeeping.mayswind.net/translating var AllLanguages = map[string]*LocaleInfo{ "en": { Content: en, diff --git a/src/locales/index.js b/src/locales/index.js index 7b86fe5c..c5df04cb 100644 --- a/src/locales/index.js +++ b/src/locales/index.js @@ -3,6 +3,7 @@ import zhHans from './zh_Hans.json' export const defaultLanguage = 'en'; +// To add new languages, please refer to https://ezbookkeeping.mayswind.net/translating export const allLanguages = { 'en': { name: 'English',