Skip to content

[Bug]: Some UI elements only use English strings, even when the translated keys are available #1316

@Math-Bee

Description

@Math-Bee

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • I have searched existing issues.

TagStudio Version

TagStudio main branch

Operating System & Version

Windows 11

Description

The following UI elements are not translated in the application even though they're translated on weblate & in the .json file (I'm using Japanese for the examples; I also noted the keys they're supposed to be using):

"Remove Field" title bar: library.field.remove
"Remove" button: generic.remove_alt & generic.remove
Image
Thumbnail size options: home.thumbnail_size keys
Image
"All Tags" option: tag.all_tags
Image
Filepath visibility options: settings.filepath.option keys
Tag click action options: settings.tag_click_action keys (except settings.tag_click_action.label)
Theme options: settings.theme keys (except settings.theme.label)
Splash screen options: settings.splash.option keys
https://github.com/user-attachments/assets/2239456a-30de-436d-b2e2-850421cb12e4
In the "Edit Color" dialog,
"Color" placeholder: color.placeholder
Image
Folders to tags macro description: folders_to_tags.description
Image
In the "Delete file(s)" dialogs,
"Yes" button: generic.yes
"No" button: generic.no
Also, the dialogs try to use the trash.title keys instead of the trash.dialog.title keys
Image
Image
In the "Delete tag" dialog,
"Cancel" button: generic.cancel & generic.cancel_alt
"OK" doesn't have a key
Image

Supersedes #1289

Expected Behavior

These UI elements should be translated when a translation exists

Steps to Reproduce

  1. Change the language to something that isn't English
  2. Restart TagStudio

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions