about:preferences#general contains almost only en-US strings independent of the locale used in Tor Browser 8.5a4. This is likey fallout from #27905 (moved).
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.
So far our investigation shows that .ftl files (Fluent) behave differently than .properties and and .dtd files. Specifically, fallback to en-US does not occur on a per-string basis for strings that are missing from a locale's files. Our patch for #27905 (moved) introduced a new .ftl file that just contains one string (-brand-short-name). To fix this ticket we may need to include that file in each language pack. Therefore, it may make sense to revisit this in conjunction with the work for #27466 (moved) (although I don't know if that ticket will require unzipping of the language packs).
I realized that now we have tor-browser-brand.ftl in many more places than esr60, but this file is not shipped in mobile, which means that some UI is broken right now (not so critical though, some about: pages like about:telemetry or about:rights...). This patch should fix it, but there will be some inconsistencies with branding on mobile.
In mobile/android/branding/nightly/locales/en-US/brand.dtd (similarly in the .properties version) we have:
<!-- This Source Code Form is subject to the terms of the Mozilla Public - License, v. 2.0. If a copy of the MPL was not distributed with this - file, You can obtain one at http://mozilla.org/MPL/2.0/. --><!ENTITY brandShortName "Nightly"><!ENTITY brandFullName "Tor Browser Nightly"><!-- LOCALIZATION NOTE (brandProductName): This brand name can be used in messages where the product name needs to remain unchanged across different versions (Nightly, Beta, etc.). --><!ENTITY brandProductName "Tor Browser"><!ENTITY vendorShortName "The Tor Project"><!ENTITY brandPocket "">
while on the desktop one we always have "Tor Browser" as brand, for example in browser/branding/nightly/locales/en-US/brand.dtd:
<!-- This Source Code Form is subject to the terms of the Mozilla Public - License, v. 2.0. If a copy of the MPL was not distributed with this - file, You can obtain one at http://mozilla.org/MPL/2.0/. --><!ENTITY brandShorterName "Tor Browser"><!ENTITY brandShortName "Tor Browser"><!ENTITY brandFullName "Tor Browser"><!-- LOCALIZATION NOTE (brandProductName): This brand name can be used in messages where the product name needs to remain unchanged across different versions (Nightly, Beta, etc.). --><!ENTITY brandProductName "Tor Browser"><!ENTITY vendorShortName "Tor Project"><!ENTITY trademarkInfo.part1 "Firefox and the Firefox logos are trademarks of the Mozilla Foundation.">
So in mobile after this patch, in places where tor-browser-brand.ftl is used the brand will be Tor Browser, while in some other places in UI it might be Nightly or Alpha. Not sure if this is ok, or we should fix these branding inconsistencies between mobile and desktop.
Trac: Status: needs_information to needs_review Keywords: TorBrowserTeam201811 deleted, TorBrowserTeam201909R11 added
So in mobile after this patch, in places where tor-browser-brand.ftl is used the brand will be Tor Browser, while in some other places in UI it might be Nightly or Alpha. Not sure if this is ok, or we should fix these branding inconsistencies between mobile and desktop.
We looked a bit at the branding Mozilla ships and it seems they are using essentially the same branding on desktop and mobile (there is a small difference for the nightly channel but that seems to me more an oversight than an actual intentional decision). I think we should follow Mozilla here, in particular as giving the same branding across platforms seems to be an important goal. So, let's fix the branding inconsistencies while we are at it.
I think we should follow Mozilla here, in particular as giving the same branding across platforms seems to be an important goal. So, let's fix the branding inconsistencies while we are at it.
Agreed. I'm not sure about the specifics of trademarkInfo, though. Perhaps, Steph can help us with that.
I'm for the alignment as well.
brandProductName Tor Browser
vendorShortName The Tor Project
trademarkInfo.part1 Tor and Tor onion logos are trademarks of The Tor Project, Inc.
I'm for the alignment as well.
brandProductName Tor Browser
vendorShortName The Tor Project
trademarkInfo.part1 Tor and Tor onion logos are trademarks of The Tor Project, Inc.
I reused tor.TrademarkStatement from torbutton which is very close to the suggested Tor and Tor onion logos are trademarks of The Tor Project, Inc.. And used the en-US one as fallback for locales that do not have that string yet.
Trac: Status: needs_revision to needs_review Keywords: TorBrowserTeam201909 deleted, TorBrowserTeam201909R added
Thanks! We are good here (sorry for my stupid questions on #tor-dev, acat). I applied the patches to torbutton's master (commit 2d8ae8086b2fa0ed1c25a741a8bdcc269b290301) and tor-browser's tor-browser-68.1.0esr-9.0-2 (commits 358aee2900917eb945eb2f4d9b350ba40dd6447f, 41edabfde0fc2b9317519530924102238ab02eb1, 4648902eeda584ebe14339ac632ff0ba483e1de2, and d32d150709d2bf24ae329878281f27bddfea2dc5)
Trac: Resolution: N/Ato fixed Status: needs_review to closed