Add Persian language to Thunderbird nightly build

ASSIGNED
Assigned to

Status

Thunderbird
Build Config
ASSIGNED
12 days ago
7 days ago

People

(Reporter: Amir Farsi, Assigned: Fallen, NeedInfo)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

12 days ago
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
Build ID: 20171229100308

Steps to reproduce:

We translated 69% of thunderbird in Persian L10n team. We want to test it in real environment, and finally, publish Persian version of Thunderbird for first time.


Actual results:

Persian isn't in thunderbird nightly build yet.


Expected results:

Please add Persian language to thunderbird nightly build and make the road ready to publishing Persian version of Thunbderbird offically for fist time.
(Assignee)

Comment 1

12 days ago
Hi Amir, thanks so much for working on the Thunderbird localization, I'm excited we will soon have Persian as a locale in Thunderbird! I'll check this out in the next few days and get those nightly builds running.
Assignee: nobody → philipp
Status: NEW → ASSIGNED
Flags: needinfo?(philipp)

Comment 2

11 days ago
Similar to bug 1403064 where we added Malay: https://hg.mozilla.org/comm-central/rev/174ec1721bab

What's the Persian abbreviation and which search engines do you want, please refer to the changeset mentioned above. And is this for Thunderbird or SeaMonkey as well?
(Assignee)

Comment 3

10 days ago
That would be "fa". As for search engines and other region properties, this is the file that we will be changing:

https://dxr.mozilla.org/comm-central/source/mail/locales/en-US/chrome/messenger-region/region.properties

You have the opportunity to change the tld for the URLs, and add local search engines to the list (for comparison, Yandex is often used in Russia but is not in the default list). If you prefer to keep the settings as they are, that is fine too.

Let me know what you prefer and I'll get that set up for you.
Flags: needinfo?(philipp) → needinfo?(amir_farsi)
(Reporter)

Comment 4

10 days ago
Hi there.
For search engines we need:
1-Google (Persian Version of google).
Note: We haven't diffrent tld of it for Persian language. It's google.com. But we need language of it as persian. I'm not sure if www.google.com/fa?q= will show Persian(Farsi) ui of Google?
2-Bing.com (It haven't persian version and it should be english version of Bing)
3-Yahoo.com (It haven't persian version and it should be english version of Yahoo)
3-Facebook.com
4-Twitter.com
5-Instagram.com(If you can add it, it would be very good. Because it's popular in Iran and supporting Persian UI)
We don't need:
1-Amazon because it isn't active in Iran and afqanistan. We don't need it.

Note: I think generally, a mail client should be able to search in emails(Like: Yahoo Mail and Gmail inbox) and social media(Like: Facebook, Instagram, Google Plus, Mastadon, Twitter,...) not in web search engines like Google, Bing, Yahoo and even eshops like Amazon! Because, basically, users using thunderbird for management their communicatios, not their web browsings. Thunderbird is a communication suite, not a web browser. If anyone want to search in Google, Yahoo,Wikipedia, he can use Firefox and it's search bar easily, he don't want Thunderbird.
However, only because other locales in Thunderbird supporting web search engines, i added them to list. But i prefer to have instagram and twitter in Thunderbird search bar instead of Yahoo and Google.

For map systems we need:
Google Maps and Open Street Maps
Note: Both of them supporting Persian UI.

In address book we need:
If user selected iran as country, the format of zip code(Postal Code in iran) should be like it:
12345-67890 or 1234567890
It should be 10 Digits and only numeric not alpha-numeric.

Mailnews:
Google Groups is good.
Flags: needinfo?(amir_farsi)
(Reporter)

Comment 5

10 days ago
Note: For maps, we prefer Google Maps than Open Street maps. It's more popular and have better maps for Iran.
(Assignee)

Updated

9 days ago
Flags: needinfo?(philipp)
(Assignee)

Comment 6

8 days ago
(In reply to Amir Farsi from comment #4)
> Hi there.
> For search engines we need:
> 1-Google (Persian Version of google).
> Note: We haven't diffrent tld of it for Persian language. It's google.com.
> But we need language of it as persian. I'm not sure if www.google.com/fa?q=
> will show Persian(Farsi) ui of Google?
> 2-Bing.com (It haven't persian version and it should be english version of
> Bing)
> 3-Yahoo.com (It haven't persian version and it should be english version of
> Yahoo)
> 3-Facebook.com
> 4-Twitter.com
> 5-Instagram.com(If you can add it, it would be very good. Because it's
> popular in Iran and supporting Persian UI)
> We don't need:
> 1-Amazon because it isn't active in Iran and afqanistan. We don't need it.

There are only three slots, and a default engine. Based on what you mention I would take Google/Bing/Yahoo.


> 
> Note: I think generally, a mail client should be able to search in
> emails(Like: Yahoo Mail and Gmail inbox) and social media(Like: Facebook,
> Instagram, Google Plus, Mastadon, Twitter,...) not in web search engines
> like Google, Bing, Yahoo and even eshops like Amazon! Because, basically,
> users using thunderbird for management their communicatios, not their web
> browsings. Thunderbird is a communication suite, not a web browser. If
> anyone want to search in Google, Yahoo,Wikipedia, he can use Firefox and
> it's search bar easily, he don't want Thunderbird.
> However, only because other locales in Thunderbird supporting web search
> engines, i added them to list. But i prefer to have instagram and twitter in
> Thunderbird search bar instead of Yahoo and Google.
To be honest, I don't even know where the search feature via Google/Bing/Yahoo is used. Emails are searched locally, no web search engine is used for that. I think there is some browsing feature that is used in edge cases, but it does not expose email.


> 
> For map systems we need:
> Google Maps and Open Street Maps
> Note: Both of them supporting Persian UI.
For Google I could add hl=fa to the search parameters. I didn't find a way to do that with OSM. In both cases, I believe this is set automatically based on the accept-languages header anyway, so if there is no separate TLD I think it would make sense to just keep the defaults.

To check this, once you have a localized version of Thunderbird, you can go to Options > Advanced > General > Config Editor and check the value of intl.accept_languages. If "fa" is mentioned at the beginning of this, then it will happen automatically. If this does not work, please get back to me and I'll add the hl=fa parameter.

> 
> In address book we need:
> If user selected iran as country, the format of zip code(Postal Code in
> iran) should be like it:
> 12345-67890 or 1234567890
> It should be 10 Digits and only numeric not alpha-numeric.
I don't think we have a regional setting for this, ideally it is done automatically. At least I didn't see anything in https://dxr.mozilla.org/comm-central/source/mail/locales/en-US/chrome/messenger-region/region.properties

> 
> Mailnews:
> Google Groups is good.
Great!
(Assignee)

Comment 7

8 days ago
(In reply to Philipp Kewisch [:Fallen]  from comment #6)
> To check this, once you have a localized version of Thunderbird, you can go
> to Options > Advanced > General > Config Editor and check the value of
> intl.accept_languages. If "fa" is mentioned at the beginning of this, then
> it will happen automatically. If this does not work, please get back to me
> and I'll add the hl=fa parameter.

This also holds true for the search engine btw.
Flags: needinfo?(philipp)

Comment 8

8 days ago
(In reply to Philipp Kewisch [:Fallen]  from comment #6)
> To be honest, I don't even know where the search feature via
> Google/Bing/Yahoo is used.
Yes, I've asked myself the same thing. We do have a "Default Search Engine" in "Options, General". Richard, can you enlighten us on where and how that is used.
Flags: needinfo?(richard.marti)
(Assignee)

Comment 9

8 days ago
I've made the region changes here: https://hg.mozilla.org/l10n-central/fa/rev/97e9f362bdfb0730d491aa5751a30d482624c247
I hope this is still the right process now that there is some unified repo for strings.

I see there are possibly more slots for search engines, some things have changed there. Of the available engines I've added "google", "bing", "yahoo", "twitter", we'll see what happens.
(In reply to Jorg K (GMT+1) from comment #8)
> (In reply to Philipp Kewisch [:Fallen]  from comment #6)
> > To be honest, I don't even know where the search feature via
> > Google/Bing/Yahoo is used.
> Yes, I've asked myself the same thing. We do have a "Default Search Engine"
> in "Options, General". Richard, can you enlighten us on where and how that
> is used.

Highlight something in the message and right click. Now you see a "Search Bing for 'your highlighted text'". The search engine changes according the setting, Bing is the default.
Flags: needinfo?(richard.marti)
(Reporter)

Comment 11

8 days ago
(In reply to Philipp Kewisch [:Fallen]  from comment #9)
> I've made the region changes here:
> https://hg.mozilla.org/l10n-central/fa/rev/
> 97e9f362bdfb0730d491aa5751a30d482624c247
> I hope this is still the right process now that there is some unified repo
> for strings.
> 
> I see there are possibly more slots for search engines, some things have
> changed there. Of the available engines I've added "google", "bing",
> "yahoo", "twitter", we'll see what happens.

Thanks. But i can't see Twitter in your mentioned file. There is only Google, Yahoo and Bing

Please add a system to thunderbird for checking validity of Zip Codes/Posatl Codes, based on selected country in address book/contacts. It's so important feature. It should be for Phone/Fax/Phone numbers too. You can use Google libphonenumber that is open source and fully complete for it.
(Reporter)

Comment 12

8 days ago
In addition, i wanted to knaow , when and how i can check thunderbird and see Persian language on it?
Should i download Thunderbird Beta? What Version of it?
Note: It seems there isn't any thunderbird nightly for download.
(Reporter)

Comment 13

8 days ago
In addition we have two problems too:
1-www.thunderbird.net have Persian language on page footer's language list. But https://www.mozilla.org/en-US/thunderbird/ haven't any Persian language in it's language slection drop down list.
2-We can't see phrases of www.thunderbird.net and it's related page in mozilla's website like these phrases in Pontoon for localization.
"Software made to make email easier.

Thunderbird is a free email application that’s easy to set up and customize - and it’s loaded with great features"

Note: I asked from "Peiying Mo" in L10n Community IRC channel. She said it's because Persian isn't in list of Thunderbird languages.
Please fix these problems in websites too.

3-I registred www.thunderbird.ir and i wanted to see if we can, connect it to www.thunderbird.net/fa ? How we can do it?
(Assignee)

Updated

8 days ago
Flags: needinfo?(philipp)
You need to log in before you can comment on or make changes to this bug.