Please add Afghanistan Persian fa_af language to localize.drupal.org (I did check at http://bit.ly/yHndlP that there is no existing issue for this language)

Comments

zirvap’s picture

Sorry for the delay!

Some questions before I can add the language:

  1. Do you know of any other work translating Drupal to Afghanistan Persian?
  2. Is it just you, or do you know of more translators to join the team? (We can add the language even if there's just one translator, but it's a lot of work, so it's a good idea if you can get others to help you.)
  3. There is a translation group for Persian Farsi already: http://localize.drupal.org/translate/languages/fa . Is that for Iranian Persian?
  4. Language code: http://rishida.net/utils/subtags/index.php?check=fa-af&submit=Check recommends to not use fa-af, but to use pes or prs instead. prs is listed as the tag for Afghan Persian. So it seems prs would be the most correct language code. Do you agree?
  5. Language name: http://rishida.net/utils/subtags/index.php?lookup=pes%20prs%20&submit=Lo... gives the name as Dari, Afghan Persian. http://www.ethnologue.com/show_language.asp?code=prs says Farsi, Eastern. Several other sites (may less reliable ones?) say Dari. What would be the most correct name for the language?
  6. http://translate.sourceforge.net/wiki/l10n/pluralforms says the plural formula for Farsi is nplurals=1; plural=0. Is that correct for this language?
zirvap’s picture

Status: Active » Postponed (maintainer needs more info)
barnamah’s picture

Sorry, after waiting for long time and no response, I got disappointed to follow. here are my response in Bold . I am free for this summer so please approve it so I can start the work. Thank you.

Do you know of any other work translating Drupal to Afghanistan Persian? NO

Is it just you, or do you know of more translators to join the team? (We can add the language even if there's just one translator, but it's a lot of work, so it's a good idea if you can get others to help you.)ONLY ME but I will invite other
There is a translation group for Persian Farsi already: http://localize.drupal.org/translate/languages/fa . Is that for Iranian Persian? NO. Afghanistan Persian has it's own variation
Language code: http://rishida.net/utils/subtags/index.php?check=fa-af&submit=Check recommends to not use fa-af, but to use pes or prs instead. prs is listed as the tag for Afghan Persian. So it seems prs would be the most correct language code. Do you agree? Follwoign ISO standards, FA=Farsi, AF=Afghanistan
Language name: http://rishida.net/utils/subtags/index.php?lookup=pes%20prs%20&submit=Lo... gives the name as Dari, Afghan Persian. http://www.ethnologue.com/show_language.asp?code=prs says Farsi, Eastern. Several other sites (may less reliable ones?) say Dari. What would be the most correct name for the language?
Persian is the correct name
http://translate.sourceforge.net/wiki/l10n/pluralforms says the plural formula for Farsi is nplurals=1; plural=0. Is that correct for this language Yes

zirvap’s picture

Thanks, that's all clear except for the language code. As far as I can tell, FA-AF is correct according to ISO 639-1, while PRS is correct aggording to ISO 639-3, which is a newer standard. (Source http://en.wikipedia.org/wiki/Persian_language and various links from there.)

Can anyone else here help out? I would expect that the newest code is better, but the old one may be more widely used, for all I know.

gábor hojtsy’s picture

barnamah’s picture

Ok. PRS is the more updated and latest. So it is good.
The name would be "Afghanistan Persian" and language code prs
It should be simple. British English, Canadian English, Australian English so Afghanistan Persian.

zirvap’s picture

Ok, I'll create this group early next week if none else does it first. (I'm pretty busy this week.)

zirvap’s picture

Status: Postponed (maintainer needs more info) » Active
zirvap’s picture

Status: Active » Fixed

I've created the team at http://localize.drupal.org/languages/prs and made @barnamah the initial owner / admin. You can add any number of other admins and manage group level permissions of people.

Note: When I created the language, I used "Afghan Persian" as English language name instead of "Afghanistan Persian", as that's what's used on http://www.ethnologue.com/language/prs. I also needed the Afghan Persian name of the language, and took the chance of copying it from Wikipedia (http://en.wikipedia.org/wiki/Dari_%28Persian_dialect%29):
دری
Let me know if that's wrong, and I'll change it.

When you go to http://localize.drupal.org/translate/languages/prs/board you'll see that I named the group "Afghan Persian (Dari) team". You can change that by choosing the "Edit group" link in the sidebar.

Please report issues as you find them! Your team members can now join and help import existing translations and work on more translations. Anybody can sign up for being a member of the team and they will be able to submit suggestions right away. The initial admin can change permissions of people signing up, widening their capabilities. See http://localize.drupal.org/node/616 for explanation on how. It is highly suggested to grant both moderation permissions to those who you also designate admins.

Welcome on board!

barnamah’s picture

thank you very much for your efforts.
I have grown up in Afghanistan and studied at a university there. Currently studying at a university here in Canada.
Afghan Persian is incorrect because the word "Afghan" is referring to specific ethnic whom speak "Pashto" in Afghanistan. (they will have Afghanistan Pashto and Pakistan Pashto). So Afghanistan Persian is the most appropriate name because it includes all ethnics whom speak Persian in Afghanistan.

zirvap’s picture

Normally, I'd stick to the language names given in more-or-less officical sources like http://rishida.net/utils/subtags/index.php?find=Persian&submit=Find and http://www.ethnologue.com/language/prs , but your explanation makes sense to me, and I assume such sources might miss important cultural nuances. I've renamed the language to "Afghanistan Persian".

I haven't renamed the translation group, you can do that yourself by editing the group (see description in my last post).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

barnamah’s picture

sorry I think I missed the post.
How can I start translating. When I got to my dashboard I don't know what to do .
please help.

zirvap’s picture

StatusFileSize
new56.9 KB
new62.68 KB
new66.47 KB
new58.57 KB

You go to http://localize.drupal.org/translate/languages/prs , then click on the "Translate" tab.

Now you can simply write in translations to the strings you see there, but you'll probably want to start with the most important strings first. In "Project" you can write the module you want to translate, or "Drupal core". Then you will see all releases in the "Release" box, so you can choose the newest. When you've done that, click on the "Filter" button to get the strings you're looking for.

 Filter for newest version of core

That's still a lot of strings, so click on the link "Reveal more filters" and add some text in in the "Contains" box, to find specific strings. Try out the other filters as well, there are lots that can be useful.

 Filter for specific text

When you have found strings you want to translate, write the translation in the box marked <New translation>, click on the radio button in front of the translation, and click "Save changes".

 Add a translation

If you forget to click on that radio button, or if a translation is submitted by someone else who doesn't have full permissions to translate, the translation will be saved as a suggestion. To approve suggestions, simply click on the radio button in front of it, and click "Save changes".

 Approve suggestions

You can also add translations using the module https://drupal.org/project/l10n_client , see more info here: https://drupal.org/node/1497296 . There's also a bit more information here: https://drupal.org/node/302194