•  » Requests
  •  » Tag translation / Tag only visible in one language

#1 2026-01-25 12:49:58

LastrisOrt
Member
2026-01-25
5

Tag translation / Tag only visible in one language

Hello all,
I recently came across Piwigo. I want to use it for hosting sports drills.
Each drill will have different tags, think about it as "offense" and "defense".

Here comes the catch: as the tag cloud would be huge, I want to only show tags corresponding their language.
For example: [lang=en]offense[/lang][lang=de]Angriff[/lang]

Maybe some of you have an idea how this could work?

Best regards
Patrick

Piwigo 16.2.0
Installed on January 15, 2026, 1 week 2 days ago
Operating system: Linux (container)
PHP: 8.5.1-nmm1 (Show info) [2026-01-25 12:45:40]
MySQL: 10.6.22-MariaDB-0ubuntu0.22.04.1-log [2026-01-25 12:45:40]
Graphics Library: External ImageMagick 6.9.11-60

Offline

 

#2 2026-01-26 00:31:34

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7329

Re: Tag translation / Tag only visible in one language

Hi :-)

Have you activated the plugin Extended Description?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2026-01-26 07:10:45

LastrisOrt
Member
2026-01-25
5

Re: Tag translation / Tag only visible in one language

Of course I did. ;-)
And it works with the description, but if I add a tag, it only shows a world globe, but the tag is not visible in the tag cloud.

Offline

 

#4 2026-01-26 16:20:31

hannah
Piwigo Team
2019-04-24
87

Re: Tag translation / Tag only visible in one language

Hi LastrisOrt,

I just did a test using the example tag you gave and yes it only displayed a globe in the tag manager on the admin page. I realised why, because my Piwigo was set to french but there was no french option only "en" and "de", is your Piwigo interface in the corresponding language ?

The tag cloud in the gallery doesn't have a "globe" icon on the modus and bootstrap darkroom themes I tested. I only had a globe appear in the administration in the specific case I mentionned above. What theme are you trying to use?

Offline

 

#5 2026-01-26 16:44:23

LastrisOrt
Member
2026-01-25
5

Re: Tag translation / Tag only visible in one language

hannah, you're a star!
Got it sorted (kind of).
Of course now it's a struggle to match the corresponding tags, because you always have to type [lang=xx].
But at least I can have the tags in the language I need.

Thank you very much for your support!

And trust me, I've got another good question/request I will post anytime soon, but I don't want to mix up topics here.

Again, thank you for your help!

Kind regards
Patrick

Offline

 

#6 2026-01-27 04:35:11

LastrisOrt
Member
2026-01-25
5

Re: Tag translation / Tag only visible in one language

Got the time to play around with it. Overall, it works, but with a small caveat:

If I filter by tags (which users will do most of the time) It will shrink down the results (so far so good).
Unfortunately, I have the tag which is translated into another language present as well.

The tag bar looks like this: (soccer 84) <- selected tag
(+ 84) <- empty tag, because it says "Fußball" in German, but will not come up, cause it's translated.

Of course I can/will accept it, but imagine the database growing and adding more languages. This might be annoying to some users.

Maybe someone has an idea?

Thanks in advance
Kind regards
Patrick

Offline

 
  •  » Requests
  •  » Tag translation / Tag only visible in one language

Board footer

Powered by FluxBB

github linkedin newsletter Piwigo.org © 2002-2026 · Contact