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

Default plural formula should probably be the one for English #23

Open
cbosdo opened this issue Apr 9, 2024 · 1 comment
Open

Default plural formula should probably be the one for English #23

cbosdo opened this issue Apr 9, 2024 · 1 comment

Comments

@cbosdo
Copy link
Contributor

cbosdo commented Apr 9, 2024

In most programs the default language is English. Should this be reflected in the formula of the nilTranslator instead of the no-plural one?
If that is not desirable, because changing a default may have an impact on other programs, then adding an API to allow changing it would be nice.

@cbosdo
Copy link
Contributor Author

cbosdo commented Apr 17, 2024

Here is a workaround I implemented using a default FileSystem implementation that returns an empty json: https://github.com/uyuni-project/uyuni-tools/blob/main/shared/l10n/utils/defaultfs.go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants