gettext-go icon indicating copy to clipboard operation
gettext-go copied to clipboard

Default plural formula should probably be the one for English

Open cbosdo opened this issue 10 months ago • 1 comments

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 avatar Apr 09 '24 11:04 cbosdo

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

cbosdo avatar Apr 17 '24 14:04 cbosdo