FET Forum

FET Development => Suggestions => Topic started by: Walid on April 13, 2022, 11:18:42 PM

Title: Arabic language date and time in Western Arabic
Post by: Walid on April 13, 2022, 11:18:42 PM
When I select Arabic language for FET, the date and time in the generated timetables are in eastern Arabic numerals. Is there a way to display them in Western Arabic numerals?
Title: Re: Arabic language date and time in Western Arabic
Post by: Liviu Lalescu on April 14, 2022, 12:26:33 AM
Hello, @wldchtgmlcm ,

Thank you for your interest! I will consider your problem. @Volker Dirr , @Benahmed Abdelkrim , what do you suggest? Could we add, like en_GB, an ar_DZ and ar_MA, with only a few translated fields?

PS: I will move your post to the Suggestions board.
Title: Re: Arabic language date and time in Western Arabic
Post by: Liviu Lalescu on April 14, 2022, 02:53:50 PM
Hmm, it won't work. If we want to make an ar_DZ or ar_MA translation, we need to make these files the same as ar. This means a double (triple) work for the Arabic translator and double (triple) files.

A solution might be to have the language ar_DZ and ar_MA to only load the locale and use the ar translation.
Title: Re: Arabic language date and time in Western Arabic
Post by: Benahmed Abdelkrim on April 14, 2022, 06:57:15 PM
I wonder why there is a duality in the numbers used?, the version number in Arabic numbers, while the date and time are written in Indian (or Oriental) numbers.  I think it is very useful to avoid this duality and to be content only with Arabic (so-called Western) numbers, which are universal and understood by all users, unlike Indian (or Eastern) numbers, their use is rare and  keeps decreasing.  I think that a single translation file taking into account the Arabic numbers will be more than enough.
Title: Re: Arabic language date and time in Western Arabic
Post by: Liviu Lalescu on April 14, 2022, 09:45:01 PM
I will try tomorrow (I also tried today, without satisfaction). The reason is that I tried to keep the file fet_ar. I could very easily rename to fet_ar_DZ, but won't this upset Moroccan users or other countries? What locale is default with Western without specifying the country?
Title: Re: Arabic language date and time in Western Arabic
Post by: Liviu Lalescu on April 15, 2022, 12:21:32 PM
I did it with tricks: https://lalescu.ro/liviu/fet/download/test/

Please let me know.
Title: Re: Arabic language date and time in Western Arabic
Post by: Benahmed Abdelkrim on April 15, 2022, 03:05:04 PM
Congratulations!
 The operation was successful.
Thank you, dear Liviu. :)
Title: Re: Arabic language date and time in Western Arabic
Post by: Liviu Lalescu on April 15, 2022, 03:06:53 PM
You are welcome! :)
Title: Re: Arabic language date and time in Western Arabic
Post by: Walid on April 15, 2022, 04:00:54 PM
Quote from: Liviu Lalescu on April 14, 2022, 09:45:01 PMI will try tomorrow (I also tried today, without satisfaction). The reason is that I tried to keep the file fet_ar. I could very easily rename to fet_ar_DZ, but won't this upset Moroccan users or other countries? What locale is default with Western without specifying the country?


Maybe you can name it Maghrebi Arabic or Northwest African Arabic.
Title: Re: Arabic language date and time in Western Arabic
Post by: Liviu Lalescu on April 15, 2022, 04:04:42 PM
Quote from: wldchtgmlcm on April 15, 2022, 04:00:54 PMMaybe you can name it Maghrebi Arabic or Northwest African Arabic.

Unfortunately, these two options are not available in Qt. I just kept it Arabic, and the internal representation will use ar_DZ locale. Thank you for the suggestion!
Title: Re: Arabic language date and time in Western Arabic
Post by: Walid on April 15, 2022, 04:08:57 PM
Quote from: Liviu Lalescu on April 15, 2022, 12:21:32 PMI did it with tricks: https://lalescu.ro/liviu/fet/download/test/

Please let me know.


Congratulations! What about FET for macOS?
Title: Re: Arabic language date and time in Western Arabic
Post by: Liviu Lalescu on April 15, 2022, 04:14:27 PM
Quote from: wldchtgmlcm on April 15, 2022, 04:08:57 PMCongratulations! What about FET for macOS?

Darren will probably compile it soon after the official release of FET-6.3.3, which I hope will be on Monday, 18 April, or a bit later.
Title: Re: Arabic language date and time in Western Arabic
Post by: Walid on April 15, 2022, 05:41:28 PM
WOW! Excellent. I can not wait to see. Thanks.
Title: Re: Arabic language date and time in Western Arabic
Post by: Liviu Lalescu on April 15, 2022, 05:44:00 PM
You are welcome! :)
Title: Re: Arabic language date and time in Western Arabic
Post by: Liviu Lalescu on April 16, 2022, 09:09:34 PM
Hello, @wldchtgmlcm , I just released the new official version, FET-6.3.3. After Darren will update it, you will be able to use the Mac OS X version.
Title: Re: Arabic language date and time in Western Arabic
Post by: Benahmed Abdelkrim on April 16, 2022, 10:12:40 PM
Thank you dear Liviu 🙂
Title: Re: Arabic language date and time in Western Arabic
Post by: Walid on April 17, 2022, 12:50:43 AM
Great news. Thank you so much.
Title: Re: Arabic language date and time in Western Arabic
Post by: Liviu Lalescu on April 17, 2022, 08:22:47 AM
You are welcome! :)
Title: Re: Arabic language date and time in Western Arabic
Post by: Liviu Lalescu on April 17, 2022, 08:13:01 PM
Hello,

Darren just released the Mac OS X version of FET-6.3.3.
Title: Re: Arabic language date and time in Western Arabic
Post by: Walid on April 17, 2022, 11:01:06 PM
Hi! I've just downloaded FET 6.3.3 for macOS and generated a new timetable. Now date and time are in Arabic numerals and this is great. Again, Thank you very much.
Title: Re: Arabic language date and time in Western Arabic
Post by: Liviu Lalescu on April 18, 2022, 08:04:46 AM
You are welcome! Thank you for the suggestion!