I actually had to remove bn-BD again as there is an XML entity error in browser.xul (1404:3) related to appMenu-iüdate-available-notification. I did not figure out in the little time I had why this only affects bn-BD nor how to route around it. But I removed the locale in commit bff4fd1fe7a4e1f105973e9af217b8fefc3db392 from master in tor-browser-build.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items 0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items 0
Link issues together to show that they're related.
Learn more.
I finally found the answer! I needed to add the bn-BD (and es-AR) locales to the chrome.manifest file in torbutton. So here are patches to add both bn-BD and es-AR:
Okay, I tested both locales on a Linux and a Windows system. Here is what I did to build the bundles:
I created patches with git format-patch for Torbutton and Tor Launcher and applied them during the rbm build process
I patched rbm.conf to just build bn-BD and es-AR bundles in addition to en-US ones
I committed the Torbutton patch locally
I updated my local Torbutton repo to pick up possibly missing bn-BD and es-AR language strings
I created a patch (with git format-patch) and applied the updated translations on top of the Torbutton patch up for review during the rbm build.
The bn-BD bundle seems to be missing a font or something as the title bar is just gibberish on Linux (see attachment). On Windows this does not seem to be an issue. I additionally found #28196 (moved) which is unrelated to this bug, though.
The es-AR bundle is neither running on Linux nor on Windows I get
The es-AR bundle is neither running on Linux nor on Windows I get
{{{
Error de análisis XML: entidad indefinida
Ubicación: chrome://browser/content/browser.xul
Línea 41, columna 1:<window id="main-window"
}}}
just before the main browser window pops up.
Okay, I fixed that. I did 4) not good enough ignoring the fact that es-AR strings needed to actually get added (not just updated) to the Torbutton repo. After that es-AR looks good to me.
The bn-BD bundle seems to be missing a font or something as the title bar is just gibberish on Linux (see attachment).
Tor Browser does bundle Noto Sans Bengali, and is correctly rendering the bn-BD text in the rest of that window. The problem seems to be that GTK uses system fonts in the title bar but doesn't use our bundled fonts. So if a Bengali font is not installed on the system, then unicode tofu is displayed. (FWIW, I also see this on my Linux system with the zh-CN Tor Browser, because I don't have a Chinese font installed.)
To fix this in general we will need to investigate if it's possible to add the fonts bundled in Tor Browser to the GTK font search path.
I'll open a new ticket for bn-BD after we are done here.
Trac: Status: needs_revision to needs_review Keywords: N/Adeleted, TorBrowserTeam201903R, GeorgKoppen201903R added Summary: Fix bn-BD and es-AR locale for Tor Browser to Fix es-AR locale for Tor Browser