SOLVED: Double language name in file field

More
11 years 1 month ago #51741 by Rooney
Hi, when I setup a file field to display the name of af the langage as text the language name is added twice in the form of
Code:
[language_name (language_name)]
Rooney

Joomla! 3.9.24 and FC 3.3.9

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #51748 by ggppdk
Hello

if you look at the HTML of this

is of these 2 a missing image ?
thus the alt=... text get's displayed ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #51750 by Rooney
Happy New Year! :-)
The source code is:
Code:
<span class="fcfile_lang"> <img class="icon-lang" src="/media/mod_languages/images/de.gif"> [Deutsch (Deutsch)] </span>
The flag is shown!
Rooney

Joomla! 3.9.24 and FC 3.3.9

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #51751 by ggppdk
Hello

happy new year !!!!!! :D

The source code is:
...

i see now what is happening,

the Text is the full language text language configuration.

please go to Joomla language manager and check the language names is it?:
Deutsch (Deutsch)


-- we use the language name that is added by the translation package and not the language name from the "Content Languages"

i think we can change this


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
11 years 3 weeks ago #51828 by Rooney
Please have a look at the screenshots. No double language somewhere.
Rooney

Joomla! 3.9.24 and FC 3.3.9

Please Log in or Create an account to join the conversation.

More
11 years 3 weeks ago #51898 by ggppdk
Hello

it is:
title + native title:

e.g.
Thai (ภาษาไทย)
French (Français)
German (Deutsch)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
11 years 3 weeks ago #51910 by Rooney

ggppdk wrote: German (Deutsch)

In my case Deutsch (Deutsch) is displayed. I would say in most cases it makes no sense to display title + native title next to a file, or?
Rooney

Joomla! 3.9.24 and FC 3.3.9

Please Log in or Create an account to join the conversation.

More
11 years 1 week ago #52076 by Rooney
Hi,
can you give me a hint in which way I can change this? I only want to have DE or EN to be displayed!
Rooney

Joomla! 3.9.24 and FC 3.3.9

Please Log in or Create an account to join the conversation.

More
11 years 1 week ago #52078 by ggppdk
Hello

we removed title native, now it should be added only if needed in specific cases

you can backup and upgrade to this:
github.com/FLEXIcontent/flexico ... 2.x_stable




or to patch existing installation

replace inside the file:
components/com_flexicontent/classes/flexicontent.helper.php
Code:
. ' CASE WHEN CHAR_LENGTH(lc.title_native) THEN CONCAT(lc.title, " (", lc.title_native, ")") ELSE lc.title END as name ' . ' lc.title as name '
Code:
. ' lc.title as name '


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
11 years 1 week ago #52079 by Rooney
Thanks a lot!!!
Rooney

Joomla! 3.9.24 and FC 3.3.9

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save