Closed Bug 1626947 Opened 5 years ago Closed 5 years ago

Thunderbird doesn't start for locales not set up for calendar

Categories

(Thunderbird :: Build Config, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 77.0

People

(Reporter: amir_farsi, Assigned: rjl)

Details

Attachments

(2 files, 1 obsolete file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0

Steps to reproduce:

0-I downloaded Thunderbird Persian(fa) from mozilla ftp
1-I installed Thunderbird 76a-x64-fa on Windows 10
2-I clicked on Thunderbird Daily icon on windows desktop

Actual results:

Thunderbird couldn't start to run. It shows an error message windo that i attached to bug. It seems there is a problem in xml code in a xhtml file! When i closed the error window, no thing happened and Thunderbird didn't start to run.
It happening from version 74a or 73a to now(76a). I couldn't run thunderbird after that. Upgarade and remove and install again didn't make thunderbird normal.

Expected results:

Thunderbird should be able to run and start normally.

That error says: Error in XML Parsing: Undefiened entity. Location: chrome://messenger/content/messenger.xhtml Line: 1271 column 5 Then that Red Line.

Rob, please look at this bug and find a solution for it.

Flags: needinfo?(rob)
Component: Untriaged → Build Config
Summary: Thunderbird can't start to run: A prolem in xml code → Thunderbird can't start to run: Undefined entity (entity missing in Farsi localiztion)

So, I know why this fails. I haven't found any reason why it would have worked in 73 or 74, though.

We're not running l10n-merge for locales not in calendar/locales/l10n.toml's locales entry.

These days, calendar isn't optional anymore, so this breaks. I haven't found traces of how optional it was at a point, so I'm a bit lost.

Fallen, Paul, is the intent that Calendar is just part of Thunderbird? Full disclosure, I had no idea what it'd take to make l10n for Calendar optional.

Flags: needinfo?(philipp)
Flags: needinfo?(paul)
Summary: Thunderbird can't start to run: Undefined entity (entity missing in Farsi localiztion) → Thunderbird doesn't start for locales not set up for calendar

(In reply to Axel Hecht [:Pike] from comment #3)

Fallen, Paul, is the intent that Calendar is just part of Thunderbird? Full disclosure, I had no idea what it'd take to make l10n for Calendar optional.

Yes, that's right. Calendar is built in to Thunderbird starting with TB 74 (beta). Thanks for looking at what's going on here.

Flags: needinfo?(paul)

Clearing the NIs on this bug.

We're investigating folding Calendar into Thunderbird proper. That seems to match the intent, and we need to adjust things in a couple of places anyway to get this straight.

Matjaz is currently working out a process on the Pontoon side. M, can you follow up here when you have that ironed out?

Flags: needinfo?(rob)
Flags: needinfo?(philipp)
Flags: needinfo?(m)

I've updated the process in the Pontoon Call notes.

When should we make the migration?

Flags: needinfo?(m)
This will take care of the immediate problem reported in this bug, that the Persian(fa) build won't start. I did a test build last night and verified it starts on my machine. I'll note that much of Calendar is not yet translated. There are other localizations that are in the same state. The only one that I cannot verify is set up for Calendar is Asturian(ast).
Attachment #9142101 - Flags: review?(paul)
Attachment #9142101 - Flags: feedback?(l10n)
Assignee: nobody → rob
Status: NEW → ASSIGNED

Science the problem is in Calendar config, i want to remember two things about calebndar:
1-In Iran, we use transliteration of French names of Gregorian calendar, if we want to say a gregorian date. For example, Avril, not April.
2-In Afqanistan that half of it's population speaching and writing in Persian, they use transliteration of English(UK) names of Gregorian calendar.
Pay attention:
In both of Iran and Afqanistan, official calendar isn't Gregorian. It's Solar Hijri calendar.
Solar Hijri Calendar: https://en.wikipedia.org/wiki/Solar_Hijri_calendar
Alt names for Solar Hijri calendar are:
1-Persian Calendar 2-Jalali Calendar 3-Iranian Calendar

I think English(UK) or French(fr) calendar setup is better than Austrian(ast) for Persian locale.
If thunderbird's calendar can support Alt Calendars, it would be very nice. Currently, windows 10 and Google Calendar, Gmail, Google Maps and other Google services supporing Persian(Solar Hijri Calendar). Finally, Thunderbird should support Alt calendars, if you want to be success in non-western markets(Eg: Middle East, East Asia)

Attachment #9142101 - Flags: review?(paul) → review+
Only change in this revision version is I added an entry for pa-IN to l10n-changesets.json as well.
Attachment #9142101 - Attachment is obsolete: true
Attachment #9142101 - Flags: feedback?(l10n)

What's involved? (Is there another bug I should follow?)

(In reply to Matjaz Horvat [:mathjazz] from comment #6)

I've updated the process in the Pontoon Call notes.

When should we make the migration?

Target Milestone: --- → Thunderbird 77.0

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/c3362d9875b8
Sync l10n lists between mail and calendar. r=pmorris

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: