Skip to content

Traditional Chinese / Bopomofo dictionary#832

Draft
sspanak wants to merge 2 commits intomasterfrom
bopomofo-dictionary
Draft

Traditional Chinese / Bopomofo dictionary#832
sspanak wants to merge 2 commits intomasterfrom
bopomofo-dictionary

Conversation

@sspanak
Copy link
Owner

@sspanak sspanak commented Jul 1, 2025

From technical perspective Bopomofo is completed. However, I need a confirmation from a native Chinese speaker that it actually works and whether to use the "small" or the "large" dictionary. More details and an APK for testing are available in #722.

@sspanak sspanak self-assigned this Jul 1, 2025
@sspanak sspanak added help wanted Extra attention is needed languages Dictionary or language related issues labels Jul 1, 2025
@sspanak sspanak linked an issue Jul 1, 2025 that may be closed by this pull request
@sspanak sspanak changed the title Bopomofo dictionary Traditional Chinese / Bopomofo dictionary Jul 1, 2025
public static boolean isEnglish(Language language) { return language != null && language.getLocale().equals(Locale.ENGLISH); }
public static boolean isChinese(Language language) { return isChineseBopomofo(language) || isChinesePinyin(language); }
public static boolean isChineseBopomofo(Language language) { return language != null && language.getId() == 774426; }
public static boolean isChineseBopomofo(Language language) { return language != null && (language.getId() == 774426 || language.getId() == 368922); }
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this hack in the final release. 368922 is "large", 774426 is "small".

@@ -0,0 +1,58 @@
locale: zh-HK
Copy link
Owner Author

@sspanak sspanak Jul 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep either the small one or this one in the final release. Also, the locale must be "zh-TW".

@sspanak sspanak force-pushed the bopomofo-dictionary branch from 64b50e3 to df09ebb Compare July 1, 2025 15:56
@sspanak sspanak force-pushed the bopomofo-dictionary branch from df09ebb to 7f31d58 Compare July 2, 2025 10:26
@sspanak sspanak force-pushed the bopomofo-dictionary branch from 7f31d58 to 6689df3 Compare July 16, 2025 09:51
@sspanak sspanak force-pushed the bopomofo-dictionary branch from 6689df3 to aa8ffe6 Compare August 20, 2025 13:14
@sspanak sspanak force-pushed the bopomofo-dictionary branch from aa8ffe6 to edba9d7 Compare September 4, 2025 13:51
@sspanak sspanak force-pushed the bopomofo-dictionary branch 4 times, most recently from dd3e965 to e50cd61 Compare October 16, 2025 09:13
@sspanak sspanak force-pushed the bopomofo-dictionary branch 2 times, most recently from 0bf80c0 to 2b6aec3 Compare October 19, 2025 11:33
@sspanak
Copy link
Owner Author

sspanak commented Oct 19, 2025

Also, must update the status icons and add .zip files.

@sspanak sspanak force-pushed the bopomofo-dictionary branch from a045da0 to c0a1f75 Compare December 15, 2025 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

help wanted Extra attention is needed languages Dictionary or language related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chinese Traditional (Bopomofo) language support

1 participant