hugo-profile icon indicating copy to clipboard operation
hugo-profile copied to clipboard

i18n support

Open dmantula opened this issue 2 years ago • 2 comments

This great theme definitely needs internationalization.

I like how the language selection with a dropdown is done here , although the implementation (see the source code here) is pretty inelegant and would work only for the landing page. Also, language names might be replaced by flags or 2-letter abbreviations, and "Other languages" might be replaced by currently active language flag/abbreviation.

The implementation would require a long-running pull request and joint efforts for:

  • i18n:
    • extract all the strings
    • fix the link referencing
    • change the configuration file format for the landing page, with backward compatibility
    • adopt the UI for RTL support (optional at the first steps)
  • l10n:
    • add localization for a minimal set of languages

To proceed with that, I would ask the community if some efforts have already been put into it, and if any pitfalls have been found with that.

Also, I would like to know who else would contribute.

dmantula avatar Jan 16 '23 21:01 dmantula

I second this request. It will be a great addition.

torvenkat avatar Feb 06 '23 03:02 torvenkat

Hello! I would contribute to the implementation of language support.

alejaboterob avatar Feb 18 '23 17:02 alejaboterob