-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Hausa locale information #512
Conversation
$hau->lang_code_iso_639_1 = 'ha'; | ||
$hau->lang_code_iso_639_2 = 'hau'; | ||
$hau->lang_code_iso_639_3 = 'hau'; | ||
$hau->slug = 'hau'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any particular reason for the slug change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're using ISO 639-3 codes for new WordPress locales and where possible adapting old ones as well (https://make.wordpress.org/polyglots/handbook/translating/requesting-a-new-locale/#find-your-language-code). Hausa has existed in GlotPress for a while but it doesn't have a WP locale and didn't have a site. The ISO 639-3 code is applied to the slugs as well as the language code for consistency. The site is already created with the slug hau
.
@petyaraykovska Instead of updating the existing locale, let's add |
As per @ocean90's request, adding a new locale for Hausa in Latin script and bringing back the data for the old rtl locale. As per a GTE request & information on Ethnologue and Wikipedia, also fixing the Kirghiz locale code (former ky, which is the wrong code for the language) and exchanging the locale codes with the ISO 639-3 code.
- $ha->slug = 'ha'; | ||
- $ha->text_direction = 'rtl'; | ||
- $ha->google_code = 'ha'; | ||
- $ha->facebook_locale = 'ha_NG'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The -
shouldn't be there...
Please create one PR per locale. |
Request: https://make.wordpress.org/polyglots/2016/04/22/request-for-adding-hausa-locale/