Multilingual Tags?

General questions regarding the use of languages in Joomla! 3.x.

Moderators: infograf768, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
User avatar
romagromov
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Fri Mar 09, 2012 4:17 pm

Multilingual Tags?

Post by romagromov » Sun May 24, 2020 5:10 pm

Hello!
I'm creating Multilingual Site.
How to translate tags?
I need to create new tags for each language and assign them to articles?
I mean: we have tag "Some Tag En", so I need to create "Some Tag Fr", "Some Tag Es", "Some Tag Ru" etc.
Or may be I can create 1 tag and add different translations for it?
Thanks.
Best free windows software at bestwinsoft.com

User avatar
AlexVega
Joomla! Hero
Joomla! Hero
Posts: 2532
Joined: Fri Aug 28, 2015 6:13 am
Location: México

Re: Multilingual Tags?

Post by AlexVega » Sun May 24, 2020 8:46 pm

Hi there,

When you create each tag you can assign it to each language in your site. At this moment we don't have the option to copy tags in the "Batch" button, so you need create one by one, unfortunately.

The selection by language in tags only works in the frontend, in the backend when you create a new article you will see all tags in all languages.

User avatar
romagromov
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Fri Mar 09, 2012 4:17 pm

Re: Multilingual Tags?

Post by romagromov » Mon May 25, 2020 5:27 pm

AlexVega wrote:
Sun May 24, 2020 8:46 pm
The selection by language in tags only works in the frontend, in the backend when you create a new article you will see all tags in all languages.
Yes. But when user adding new tag in frontend and site now for example on French language - new tags will created with All languages, not assigned to French.
And it's big problem.
Best free windows software at bestwinsoft.com

User avatar
AlexVega
Joomla! Hero
Joomla! Hero
Posts: 2532
Joined: Fri Aug 28, 2015 6:13 am
Location: México

Re: Multilingual Tags?

Post by AlexVega » Mon May 25, 2020 8:05 pm

The assignment is not automatic, that's why when you create each tag you can assign it to each language, only the tag filter per language in the frontend for the selection is automatic.

Another solution vould be vía SQL in phpMyAdmin.

User avatar
darb
Joomla! Ace
Joomla! Ace
Posts: 1668
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden
Contact:

Re: Multilingual Tags?

Post by darb » Tue May 26, 2020 11:37 am

Yes this is a real problem. Maybe Falang can do this? Contact Stéphane and check Falang https://extensions.joomla.org/extension/falang/
Quickjump format joomla Tags
com_tags#tags#id#default,tags,tag
Success in the long run Its not about the code its about the people and community that's make it!
Its not what you say its what you do that matters!

Darb - aka ssnobben

User avatar
romagromov
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Fri Mar 09, 2012 4:17 pm

Re: Multilingual Tags?

Post by romagromov » Tue May 26, 2020 12:11 pm

darb wrote:
Tue May 26, 2020 11:37 am
Yes this is a real problem. Maybe Falang can do this? Contact Stéphane and check Falang https://extensions.joomla.org/extension/falang/
Quickjump format joomla Tags
com_tags#tags#id#default,tags,tag
I know about Falang.
But I want to use only native Joomla features for my new site.
No 3-rd party extensions at all.

I also can't understand why we should create new tags for all languages?
Imagine, we have 20k tags and 20 languages.
So we need to create 400k tags.
This is madness.
The simple way is when 1 tag have 20 translations.
In this case SQL will have 1 record for each multilanguage tag.
And all translations can be added when we editing main tag on default language.
Best free windows software at bestwinsoft.com

User avatar
darb
Joomla! Ace
Joomla! Ace
Posts: 1668
Joined: Thu Jul 06, 2006 12:57 pm
Location: Stockholm Sweden
Contact:

Re: Multilingual Tags?

Post by darb » Tue May 26, 2020 1:06 pm

Yes 100% agree.

But this is an end user request and not important. :)

Joking!

I am not a coder too.

I try to discuss and give good ideas/ideas in many format too of Joomla improvements for many years. Multilanguage and tags are also discussed now at Stackideas support forums so its a "end user" need but who cares?
Success in the long run Its not about the code its about the people and community that's make it!
Its not what you say its what you do that matters!

Darb - aka ssnobben

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19019
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Multilingual Tags?

Post by infograf768 » Wed May 27, 2020 11:01 am

Evidently we care about end-users needs...
Now, the feature you ask for looks quite complex and needs a volunteer coder to

1. understand what you exactly want
2. be concerned by this new feature.

The simple way is when 1 tag have 20 translations.
Please do not confuse the translation of a specific tag name and its assignment to a specific language.

1. Translation
We may be able to pass the name of the tag through "Text::_", but as the user is the one choosing the name, he would have to create a lang string to translate it in the overrides as they can't be done by the language packs. Another solution would be to define a name per installed language when editing a tag at the same time as defining a lang assignment. But this would be an admin task.
It would be totally impossible evidently to do when creating a tag on the fly...

2. Assignment to a specific language:
As I said, it looks quite hard to do when creating on the fly. What could, maybe, be done, is to propose only tags already created and assigned to the same language as the item when the language of the item has already been saved.

Over all, not a simple task...
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
romagromov
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Fri Mar 09, 2012 4:17 pm

Re: Multilingual Tags?

Post by romagromov » Wed May 27, 2020 1:18 pm

infograf768 wrote:
Wed May 27, 2020 11:01 am
2. Assignment to a specific language:
As I said, it looks quite hard to do when creating on the fly.
Over all, not a simple task...
One more time.
1. User opens site and select French language.
2. User adding new item and new tag.

Why this tag assigned to All languages instead French?
It is obvious that this is not correct behavior.
User selected French language, added item on French language, so tag should be assigned to French language too!
Best free windows software at bestwinsoft.com

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19019
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Multilingual Tags?

Post by infograf768 » Thu May 28, 2020 6:56 am

It is obvious that this is not correct behavior.
It is NOT obvious at all that one should assign the French language to a newly created item as well as to a tag created on the fly when site is displayed for French.

The reason is quite simple:
A newly created article in frontend may be created and tagged to any language in any category (depending on the type of menu item), this whatever the language interface, including All languages.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
romagromov
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Fri Mar 09, 2012 4:17 pm

Re: Multilingual Tags?

Post by romagromov » Thu May 28, 2020 7:55 am

infograf768 wrote:
Thu May 28, 2020 6:56 am
It is obvious that this is not correct behavior.
It is NOT obvious at all that one should assign the French language to a newly created item as well as to a tag created on the fly when site is displayed for French.

The reason is quite simple:
A newly created article in frontend may be created and tagged to any language in any category (depending on the type of menu item), this whatever the language interface, including All languages.

NO. If user select French language as native, it's OBVIOUS that user will add new article including tags on French.
Actually, in this case default language should be French for new article, not All languages.

But the main problem is that if the user set a French language during editing of the article - tags anyway will assigned to All languages.
Best free windows software at bestwinsoft.com

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19019
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Multilingual Tags?

Post by infograf768 » Thu May 28, 2020 8:53 am

Whatever. You decide what is obvious to you. This is not how Joomla works.
I can't help you more.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
romagromov
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Fri Mar 09, 2012 4:17 pm

Re: Multilingual Tags?

Post by romagromov » Thu May 28, 2020 9:53 am

infograf768 wrote:
Thu May 28, 2020 8:53 am
. This is not how Joomla works.
Yes, this is how Joomla works.
But not how users want it should work.
Actually, users should not ever see language field in form, since they already set native language.
But if form have language field and user set it as French, so article and tags - both should be assigned to French. Not to All languages.
Otherwise, administrator or editor should change all user created tags to French manually!
It's a terrible work.
Or should it be an option in Joomla settings:
1. Assign new tags to All languages.
2. Assign new tags to current site language (or language that was set in frontend form).
Best free windows software at bestwinsoft.com


Post Reply

Return to “Language - Joomla! 3.x”