Skip to content

Individual label text "Location:" appears in English even when other languages are selected #1576

Description

@varkatope

First Check

  • This is not a feature request
  • I added a very descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the documentation, with the integrated search.
  • I already read the docs and didn't find an answer.
  • I can replicate the issue inside the Demo install.

Homebox Version

0.26.2

What is the issue you are experiencing?

When accessing a printable label from an item's page, the English text "Location:" appears on the label no matter the language selected. In French, for example, it would normally be "Emplacement:". I don't know where it's pulling the string from and whether there could be a way to get the translated text instead.

Since some words in different languages sometimes end up being longer than the English, it would also be nice to be able to modify the text that appears on the labels, or remove it completely, maybe as a global setting somewhere.

How can the maintainer reproduce the issue?

  • Go to the demo or nightly instance
  • Change the language to something other than English
  • Click on an item
  • Click on the "Print from Browser" icon ("from" should probably be capitalized in the English, by the way)
  • Notice that the English word "Location:" appears on the label regardless of the chosen language.
Image

(This image was generated while my instance was set to French, but I did try several other languages as well.)

Deployment

Docker (Linux)

Database Type

SQLite

OS Architechture

x86_64 (AMD, Intel)

Deployment Details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    🕷️ bugSomething isn't working

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions