Skip to content
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

Locales: Add Tarifit locale #1477

Merged
merged 8 commits into from Dec 14, 2022
Merged

Conversation

ipshel
Copy link
Contributor

@ipshel ipshel commented Aug 22, 2022

Please add Tarifit locale. (rif)

For more info about Tarifit:
https://www.ethnologue.com/language/rif

locales/locales.php Outdated Show resolved Hide resolved
@amieiro
Copy link
Contributor

amieiro commented Dec 13, 2022

I have made some research and I have some updates:

$english_name = 'Tarifit';       // https://en.wikipedia.org/wiki/Tarifit
$native_name = 'Tmaziɣt';        // https://dbpedia.org/page/Tarifit https://en.wikipedia.org/wiki/Tarifit
$text_direction = 'ltr';         // Latin, Arabic script, Tifinagh https://en.wikipedia.org/wiki/Tarifit
$lang_code_iso_639_1 = null;
$lang_code_iso_639_2 = null;
$lang_code_iso_639_3 = 'rif';    // https://iso639-3.sil.org/code/rif
$country_code = 'ma';            // https://www.iso.org/obp/ui/#iso:code:3166:MA
$wp_locale;                      // This should only be set for locales that are offically supported on translate.wordpress.org.
$slug = 'rif';                   // https://iso639-3.sil.org/code/rif
$nplurals = 2;                   // https://translations.launchpad.net/+languages/rif
$plural_expression = 'n != 1';   // https://translations.launchpad.net/+languages/rif
$google_code = null;
$preferred_sans_serif_font_family = null;
$facebook_locale = null;
$alphabet = 'latin';             // Latin, Arabic script, Tifinagh https://en.wikipedia.org/wiki/Tarifit
$word_count_type = 'words';

locales/locales.php Show resolved Hide resolved
locales/locales.php Outdated Show resolved Hide resolved
locales/locales.php Outdated Show resolved Hide resolved
amieiro
amieiro previously approved these changes Dec 13, 2022
@ipshel
Copy link
Contributor Author

ipshel commented Dec 13, 2022

Tmaziɣt or Tamaziɣt is Berber. And many languages which are derived from Berber call the language Tmaziɣt. Riffian call Tarifit tmaziɣt and others too call their language Tmaziɣt/Tamaziɣt. However we have native names of every language beside Tmaziɣt.
I believe as Riffian we use Tarifiyt as native name.
$english_name = 'Tarifit'; $native_name = 'Tarifiyt';
or even we use Riffian as English name:
$english_name = 'Riffian'; $native_name = 'Tarifit';
https://en.wikipedia.org/wiki/Berber_languages
https://en.wikipedia.org/wiki/Central_Atlas_Tamazight

@amieiro
Copy link
Contributor

amieiro commented Dec 14, 2022

English name

I think the name is "Tarifit". We have this name in:

Native name

I used "Tmaziɣt" because the Wikipedia uses this name between parentheses, and they usually use the parentheses for the native name. I saw this pattern with my two mother languages:

and with other languages:

@ipshel
Copy link
Contributor Author

ipshel commented Dec 14, 2022

I understand that you have checked Wikipedia and you are trying to get the most truthfulness information you can have. as I'm trying too to explain to you why Tmaziɣt is not the most accurate word here.

  1. Tmaziɣt and Tamaziɣt are the same term in different grammatical case.
  2. Tamaziɣt is used to refer to Berber language. which is the mother language of all sub-Berber languages.
  3. Imazighen is the term that is used to refer to the Berber people, who are an indigenous ethnic group that lives in North Africa.
  4. Imazighen refer to their language as Tamaziɣt for a number of reasons.
  5. Tamaziɣt is the term that has been traditionally used to refer to the Berber language.

The term "Tamaziɣt" refers to the Imaziɣen's language when speaking with non-Berber speakers. Among Berber speakers, "Tamaziɣt" specifically refers to Central Atlas Tamazight (tzm). However, Specific sub-Berber language speakers (Tarifit speakers for example) also use the term "Tamaziɣt" to refer to their own language. It is also believed that the native name for the Tarifit language is "Tarifiyt".

https://web.archive.org/web/20120628211208/http://wold.livingsources.org/language/6

locales/locales.php Outdated Show resolved Hide resolved
@amieiro
Copy link
Contributor

amieiro commented Dec 14, 2022

@ipshel Following your comments, I have updated the native name. I think it is ok to be merged. Is it ok to you?

@ipshel
Copy link
Contributor Author

ipshel commented Dec 14, 2022

@amieiro Everything is ok.
Thank you. I appreciate that.

@amieiro
Copy link
Contributor

amieiro commented Dec 14, 2022

@amieiro Everything is ok. Thank you. I appreciate that.

@ipshel Thank you for your time. Sorry for so much change. I just wanted to be sure that the correct information was added to the project.

@amieiro amieiro merged commit cd8b6c4 into GlotPress:develop Dec 14, 2022
6 checks passed
@ipshel ipshel deleted the Locales/Tarifit branch Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants