Comments (1)
While you are correct that "vi" is the ISO 3166-1 country code for the US Virgin Islands and not Vietnam, locales are not ISO 3166-1. They are ISO 639-1 alpha-2 language codes with an optional, capitalized ISO-3166-1 after. https://github.com/tigrish/iso#languages
In other words, "vi" is Vietnamese (the language) and VN is Vietnam (the country). This project defines "vi" only, but if you thought that the Vietnamese as spoken in Vietnam was different than "generic" Vietnamese, we would add "vi-VN".
from devise-i18n.
Related Issues (20)
- shared error message downcases model
- Missing translation HOT 1
- Flash messages not localized HOT 2
- Wrong scoped views generation? HOT 6
- [question] How to set the Devise locale for current request (in a thread safe manner)? HOT 5
- add "confirmed" to i18n HOT 4
- Missing message when mail is unconfirmed in mailer email_changed HOT 4
- Missing inactive account translation missing HOT 1
- Possibly missing string HOT 2
- Missing partial string `Reset password token` HOT 2
- Merge Esperanto :eo language file HOT 1
- Do devise generated views and locales have to be renamed? HOT 1
- Undefined method 'user_url' HOT 1
- Prepare for Devise 4.9.0 HOT 1
- `registrations/edit` page should have a translated heading
- time not in generated views
- English pluralization of `not_saved` is not consistent with other languages HOT 1
- custom strings HOT 1
- using nokogiri 1.15 breaks devise emails HOT 2
- A proposed addition for the readme.md file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devise-i18n.