mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-23 07:11:36 +01:00
update i18n guide
This commit is contained in:
parent
6dad7166c2
commit
ef77192080
@ -24,8 +24,8 @@
|
||||
<script src="/static/resources/js/services/i18n/locale_messages_zh-CN.js"></script>
|
||||
{{ else if eq .Lang "en-US"}}
|
||||
<script src="/static/resources/js/services/i18n/locale_messages_en-US.js"></script>
|
||||
** {{ else if eq .Lang "<language>-<locale>"}}
|
||||
<script src="/static/resources/js/services/i18n/locale_messages_<language>-<locale>.js"></script>**
|
||||
{{ else if eq .Lang "<language>-<locale>"}}
|
||||
<script src="/static/resources/js/services/i18n/locale_messages_<language>-<locale>.js"></script>
|
||||
{{ end }}
|
||||
```
|
||||
3. Add the new language to the `I18nService` module.
|
||||
|
Loading…
Reference in New Issue
Block a user