[i18n] Should we keep novelty languages? #2850

Closed
opened 2019-07-11 02:57:20 +02:00 by Tobotimus · 3 comments
Tobotimus commented 2019-07-11 02:57:20 +02:00 (Migrated from github.com)

I'm copying this issue over from this discussion on Crowdin.

Languages like LOLCAT and Pirate English are a novelty, I understand some people like that and I have no problem with it.

But looking forward it would simplify some things for us devs to only support official languages with recognisable language codes. By "official languages" I'm really referring to those supported by various libraries we aim to use, in particular the ones listed here.

Of course, if no one is interested in translating these languages, that's all the more reason to remove them. But if anyone objects, please post here and we'll keep it in mind.

Technical reasons for consideration

Looking forward we hope to enhance our i18n features by integrating babel into the framework. However, babel doesn't recognise these novelty languages, because it relies on CLDR (linked above). Keeping these languages means defaulting to en-US whenever we're using babel features, but this might lead to some confusing behaviour with utils that return a Babel locale, because if you pass in something like lol-US, you'll get en-US back.

I'm copying this issue over from this [discussion](https://crowdin.com/project/red-discordbot/discussions/8/0/home) on Crowdin. Languages like LOLCAT and Pirate English are a novelty, I understand some people like that and I have no problem with it. But looking forward it would simplify some things for us devs to only support official languages with recognisable language codes. By "official languages" I'm really referring to those supported by various libraries we aim to use, in particular the ones listed [here](https://www.unicode.org/cldr/charts/latest/summary/root.html). Of course, if no one is interested in translating these languages, that's all the more reason to remove them. But if anyone objects, please post here and we'll keep it in mind. ### Technical reasons for consideration Looking forward we hope to enhance our i18n features by integrating [`babel`](http://babel.pocoo.org/en/latest/) into the framework. However, babel doesn't recognise these novelty languages, because it relies on CLDR (linked above). Keeping these languages means defaulting to en-US whenever we're using babel features, but this might lead to some confusing behaviour with utils that return a Babel locale, because if you pass in something like `lol-US`, you'll get `en-US` back.
mikeshardmind commented 2019-07-11 03:05:38 +02:00 (Migrated from github.com)

+1 from me on removing the novelty lang support. There's almost nothing translated in them, even only including strings that existed from the inception of crowdin support, and the benefits are pretty clear.

+1 from me on removing the novelty lang support. There's almost nothing translated in them, even only including strings that existed from the inception of crowdin support, and the benefits are pretty clear.
Tobotimus commented 2019-07-11 03:08:37 +02:00 (Migrated from github.com)

Also in case it wasn't clear, if we do decide to remove these languages from core support, this also means any .po files provided with cogs which don't use a CLDR-recognised language-TERRITORY code will be ignored.

Also in case it wasn't clear, if we do decide to remove these languages from core support, this also means any .po files provided with cogs which don't use a CLDR-recognised language-TERRITORY code will be ignored.
mikeshardmind commented 2019-09-28 23:39:49 +02:00 (Migrated from github.com)

As there's been no negatives on this and the only novelty languages we had had no meaningful translations, Its safe to say we aren't keeping the novelty langs.

As there's been no negatives on this and the only novelty languages we had had no meaningful translations, Its safe to say we aren't keeping the novelty langs.
Sign in to join this conversation.
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot#2850
No description provided.