Skip to content

Update / refactor translations / i18n #741

Description

@matthijskooijman

Hamster currently has translations, but:

  • The desktop file is no longer translated
  • A lot of translations are still for an older version of the UI (so e.g. "Description: " is translated, but the UI now uses "description", so that remains untranslated).
  • The entire i18n approach might be using older tools and could maybe use an overhaul.

There might be some things to be learned from #559 (which is old and no longer applies, but probably does have some useful bits).

It seems that the current translations that are present do still work as expected. Note that translations do not work when running directly from the source tree (see this code). The easiest way to test is to use the flatpak build and run:

flatpak run --env=LANG=nl_NL.UTF-8 org.gnome.Hamster

Note that flatpak config --user --set languages "nl;en" should apparently also work, but does not seem to on my system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions