Skip to content

Commit

Permalink
docs: add how to get back to english doc
Browse files Browse the repository at this point in the history
fix #310
  • Loading branch information
iamkun committed Feb 2, 2019
1 parent 73eb122 commit b734422
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/en/I18n.md
Expand Up @@ -25,6 +25,7 @@ dayjs.locale('es') // use loaded locale globally
dayjs.locale('de-german', de) // use locale and update default name string
const customizedLocaleObject = { ... } // More details can be found in Customize section below.
dayjs.locale(customizedLocaleObject) // use customize locale
dayjs.locale('en') // switch back to default English locale globally
```

* Changing the global locale doesn't affect existing instances.
Expand Down
1 change: 1 addition & 0 deletions docs/es-es/I18n.md
Expand Up @@ -28,6 +28,7 @@ dayjs.locale('de-german', de)
const customizedLocaleObject = { ... }
// uso de la configuración regional personalizada
dayjs.locale(customizedLocaleObject)
dayjs.locale('en') // switch back to default English locale globally
```

* Cambiar la configuración regional global no afecta a las instancias ya existentes.
Expand Down
1 change: 1 addition & 0 deletions docs/ja/I18n.md
Expand Up @@ -25,6 +25,7 @@ dayjs.locale('es') // 読み込んだロケールをグローバルに適用
dayjs.locale('de-german', de) // ロケールを使用し、デフォルトの名前文字列を更新
const customizedLocaleObject = { ... } // 詳細は、以下のカスタマイズの項を参照
dayjs.locale(customizedLocaleObject) // カスタムロケールを適用
dayjs.locale('en') // switch back to default English locale globally
```

* グローバルロケールを変更しても、既存のインスタンスには影響しません。
Expand Down
1 change: 1 addition & 0 deletions docs/ko/I18n.md
Expand Up @@ -25,6 +25,7 @@ dayjs.locale('es') // 글로벌 하게 locale을 로드하여 사용합니다.
dayjs.locale('de-german', de) // locale 사용 및 기본 이름 문자열 업데이트
const customizedLocaleObject = { ... } // 자세한 내용은 아래 커스텀 설정 섹션을 참조하세요.
dayjs.locale(customizedLocaleObject) // 커스텀 locale 사용
dayjs.locale('en') // switch back to default English locale globally
```

* 글로벌 locale을 변경해도 기존 인스턴스에는 영향을 주지 않습니다.
Expand Down
1 change: 1 addition & 0 deletions docs/pt-br/I18n.md
Expand Up @@ -25,6 +25,7 @@ dayjs.locale('es') // usar o locale es globalmente
dayjs.locale('de-german', de) // usar o locale de e alterar a string padrão
const customizedLocaleObject = { ... } // mais detalhes podem ser vistos na sessão de customização abaixo
dayjs.locale(customizedLocaleObject) // usar locale customizado
dayjs.locale('en') // switch back to default English locale globally
```

* Mudar o *locale* global não afeta instâncias já existentes.
Expand Down
1 change: 1 addition & 0 deletions docs/zh-cn/I18n.md
Expand Up @@ -25,6 +25,7 @@ dayjs.locale('zh-cn') // 全局使用简体中文
dayjs.locale('de-german', de) // 使用并更新语言包的名字
const customizedLocaleObject = { ... } // 更多细节请参考下方的自定义语言对象
dayjs.locale(customizedLocaleObject) // 使用自定义语言
dayjs.locale('en') // 全局使用默认的英语语言
```

* 改变全局语言并不会影响在此之前生成的实例
Expand Down

0 comments on commit b734422

Please sign in to comment.