Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Labels: Automatically translate label names #485

Open
MarJun1988 opened this issue Sep 1, 2020 · 10 comments
Open

Labels: Automatically translate label names #485

MarJun1988 opened this issue Sep 1, 2020 · 10 comments
Labels
idea Feedback wanted / feature request labels Related to labels assigned manually or from metadata

Comments

@MarJun1988
Copy link

The categories of the pictures are currently displayed in English even if the language is set to German.
I would be happy to help.

@lastzero
Copy link
Member

lastzero commented Sep 1, 2020

We're not sure about the best way to do it. If we translate it in the database, it causes issues when you change the language or when there are multiple users who prefer different languages. When we translate it in the UI, then also labels the user intentionally entered in English might be translated to other languages. Also image titles would still be in English.

@lastzero lastzero added the idea Feedback wanted / feature request label Sep 1, 2020
@lastzero
Copy link
Member

lastzero commented Sep 1, 2020

Note that some labels come from location data, so you'd also need to translate all OpenStreetMap categories.

@graciousgrey graciousgrey changed the title Categories in other languages Translate labels Nov 25, 2020
@graciousgrey graciousgrey changed the title Translate labels Labels / Translate labels Nov 26, 2020
@graciousgrey graciousgrey changed the title Labels / Translate labels Labels: Translate labels Jan 5, 2021
@lastzero lastzero removed the unfunded label Nov 1, 2021
@graciousgrey graciousgrey changed the title Labels: Translate labels Translations: Translate labels Nov 3, 2021
@oktayacikalin
Copy link

Note that some labels come from location data, so you'd also need to translate all OpenStreetMap categories.

Doesn't OSM also offer translated data?

@oktayacikalin
Copy link

We're not sure about the best way to do it. If we translate it in the database, it causes issues when you change the language or when there are multiple users who prefer different languages. When we translate it in the UI, then also labels the user intentionally entered in English might be translated to other languages. Also image titles would still be in English.

I've renamed my categories to German. Then I started a full reindex, and it seems that my translated categories are also used in the auto generated titles and keyword fields. This looks promising. Of course, changing the language again would require me to execute a full reindex again.

It looks like it might work if you first try to guess the categories, get the translated labels and then use them everywhere in the meta data.

@oktayacikalin
Copy link

Adding more translations should trigger a partial reindex of the untranslated categories.
Is it possible to mark category labels as "user modified"?

@juanpeich
Copy link

juanpeich commented Apr 7, 2023

Was it finally changed to translate the labels?

I have the web interface in Spanish, but the labels are in English. If possible, what is the file that I should modify from English to Spanish so that the labels are in Spanish?

Thanks beforehand for your attention


Finalmente se logró poder traducir las etiquetas?

Yo tengo la interface web en español, pero las etiquetas están en inglés.

Si es posible, cual es el archivo que debería modificar de inglés a español para que las etiquetas estén en español?

Gracias de antemano por su atención

@lastzero lastzero moved this to Ideas 💭 in Roadmap 🚀✨ Jun 8, 2023
@noliveleger
Copy link

@oktayacikalin

I've renamed my categories to German. Then I started a full reindex, and it seems that my translated categories are also used in the auto generated titles and keyword fields. This looks promising. Of course, changing the language again would require me to execute a full reindex again.

When you restarted the full reindex with your translated categories, did you lose faces or they stayed in place?

@lastzero
Copy link
Member

Note that auto generated titles are updated in the background, just not instantly but over time. So a full rescan is not strictly required.

@oktayacikalin
Copy link

@noliveleger

When you restarted the full reindex with your translated categories, did you lose faces or they stayed in place?

I'm sorry, but I cannot remember what happened to them.

@graciousgrey
Copy link
Member

@noliveleger Indexing does not remove tagged faces or created albums etc

@lastzero lastzero added the labels Related to labels assigned manually or from metadata label Nov 1, 2024
@lastzero lastzero changed the title Translations: Translate labels Labels: Automatically translate label names Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea Feedback wanted / feature request labels Related to labels assigned manually or from metadata
Projects
Status: Ideas 💭
Development

No branches or pull requests

6 participants