fd icon indicating copy to clipboard operation
fd copied to clipboard

Add support for other languages

Open Obema12 opened this issue 2 years ago • 4 comments

Add support for other languages so that we can translate and use the tool in a language other than English.

Obema12 avatar Sep 27 '22 06:09 Obema12

What would that look like? Would translating the man pages and maybe the help text be sufficient? Do error messages need to be translated as well?

Does clap have any kind of i18n or l10n support? Is there an example of a rust CLI that supports l10n that we could use as an example of how to do this?

To be clear, I'm not necessarily opposed, I'm just not sure how to approach it.

tmccombs avatar Sep 27 '22 16:09 tmccombs

I don't know what i18n and l10n are, but many utilities use po files for translations. And of course, everything needs to be translated.

Obema12 avatar Sep 27 '22 23:09 Obema12

I18n = internationalization L10n = Localization

tmccombs avatar Sep 28 '22 02:09 tmccombs

Sorry, I couldn't find such an example.

Obema12 avatar Sep 28 '22 08:09 Obema12