mirror of
https://github.com/floccusaddon/floccus.git
synced 2026-04-25 06:06:05 +03:00
[GH-ISSUE #1025] Can't load zh-CN or zh-TW #674
Labels
No labels
browser-specific
bug
correctness issues
enhancement
feature: Google Drive
feature: Linkwarden
feature: git
feature: nextcloud-bookmarks
feature: tabs
feature: webdav
help wanted
native-app
priority: high
priority: low
priority: medium
pull-request
question
question
stale
upstream
waiting for more information
wontfix
🙁 Not following issue template
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/floccus#674
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @binsee on GitHub (Jan 28, 2022).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1025
Describe the bug
Simplified Chinese (
zh-CN) and Traditional Chinese (zh-TW) cannot be loaded.To Reproduce
Steps to reproduce the behavior:
chrome://settings/languagesF12key to open DevtoolsF5key to refresh the pageExpected behavior
Dispaly Chinese text.
Screenshots
Desktop
(please complete the following information)
Server
(please complete the following information)
Note: Please write down the actual version numbers instead of writing 'latest'.
Debug log
It is often useful to provide a debug log file along with the issue. You can obtain a debug log of the most recent sync runs by clicking 'Debug log' in the bottom right corner of the floccus panel in your browser.
Note: As your debug log usually contains large parts of your bookmark data, instead of attaching it publicly to the issue here, I recommend uploading it privately at the following URL https://cloud.marcelklehr.de/s/PCi3iLWrzdMZSmw
Additional context
The code to load the language in floccus is as follows:
navigator.languagesreturn:In strings returned by navigator.languages, use the symbol
-instead of_.In the code of floccus, the symbol
-is used to find the translation file, but the symbol_is used in the translation file name.As a result, translation files whose filenames use the symbol
_cannot be loaded.@github-actions[bot] commented on GitHub (Mar 20, 2023):
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.