Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart / dynamic language file generation: 2nd language, international Symbols, translate.google quality & lexical similarity #1543

Open
Tracked by #1490
ImprovedTube opened this issue Jan 19, 2023 · 0 comments
Labels
Grand Topic Big topic, reaches far beyond or above this App. Make a new Repo! (too) Knowledge Base / Dokumenation for developers We should repurpose this for future reference / Wiki / Education / Introduction

Comments

@ImprovedTube
Copy link
Member

ImprovedTube commented Jan 19, 2023

(Big topic / worth converting to a separate repo. Also might "convert to discussion")

...previously:

English in all the locale files for consistency

Ahh nice! Might be neat to not update the locales at all, and instead have locale priorities that gets generated when the plugin is loaded at installation/updates (and held in storage; leaving the way predefined by the browsers). So if someone adds something to the en locale, it should not exist in any others (and that makes it easier for people to know what needs to be translated). Instead module loads, goes through all locales to produce object of each key, and fills it out based on language priority, so if someone's priorities are 'it->es->en->all others' then it first looks for key in it and if not there, then looks in es, etc. Would only happen on startup so runtime is fast.

while italian has few L2-speakers, it could help a French-only-speaker.
indonesian malay
0.89 fr it
0.85 es pt

    • regional language ➜ official language | macro-language
      en_US | Nigerian Pidgin | en_UK | en-** ➜ en
      chinese varieties | zh-** ➜ chinese
      arabian dialects | ar-** ➜ arabian
      pt_BR ➜ pt
  • Google-translate understandability (best & worst)
    teachyoubackwards.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Grand Topic Big topic, reaches far beyond or above this App. Make a new Repo! (too) Knowledge Base / Dokumenation for developers We should repurpose this for future reference / Wiki / Education / Introduction
Projects
None yet
Development

No branches or pull requests

1 participant