✨ i18n
This commit is contained in:
19
README.md
19
README.md
@@ -178,6 +178,25 @@ _Requests with Pre-Request Scripts are indicated in History entries_
|
|||||||
- Copy Request Link <kbd>Ctrl</kbd> + <kbd>K</kbd>
|
- Copy Request Link <kbd>Ctrl</kbd> + <kbd>K</kbd>
|
||||||
- Reset Request <kbd>Ctrl</kbd> + <kbd>L</kbd>
|
- Reset Request <kbd>Ctrl</kbd> + <kbd>L</kbd>
|
||||||
|
|
||||||
|
🌎 **i18n**: Internationalization β.
|
||||||
|
|
||||||
|
- Add a new locale in `lang/`
|
||||||
|
- Ex: `lang/es-ES.js`
|
||||||
|
- Mention `code`, `name`, `iso` and `file` in `nuxt.config.js`
|
||||||
|
|
||||||
|
```
|
||||||
|
i18n: {
|
||||||
|
locales: [{
|
||||||
|
code: 'es',
|
||||||
|
name: 'Español',
|
||||||
|
iso: 'es-ES',
|
||||||
|
file: 'es-ES.js'
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
_**All contributions are welcome to `i18n` [branch](https://github.com/liyasthomas/postwoman/tree/i18n) only!**_
|
||||||
|
|
||||||
**To find out more, please check out [Postwoman Wiki](https://github.com/liyasthomas/postwoman/wiki).**
|
**To find out more, please check out [Postwoman Wiki](https://github.com/liyasthomas/postwoman/wiki).**
|
||||||
|
|
||||||
## Demo 🚀 [](https://postwoman.io)
|
## Demo 🚀 [](https://postwoman.io)
|
||||||
|
|||||||
Reference in New Issue
Block a user