Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Add 2-letter codes to the laser_encoders language list #273

@avidale

Description

@avidale

Currently, in laser_encoders, we use either 3-letter codes (like eng) or 8-letter codes (like eng_Latn).
This is fine, but users often prefer 2-letter codes (like "en").

This approach is not very sustainable, because there are many more languages in the world than possible 2-letter codes. However, people still use two-letter codes frequently, so I think it would be nice to support them (and of course to check that we raise meaningful errors in the cases when one two-letter code corresponds to several languoids).

Metadata

Metadata

Assignees

No one assigned

    Labels

    MLHpotential issue to solve in the MLH projectenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions