[Skip to main content](#vessel-content)

#   Filter not translated when "inside"

##

- **[dezajn](/forum/user/36157-dezajn "View dezajn's Profile")**
- [![dezajn's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36157-dezajn "View dezajn's Profile") Topic Author
- [ Offline](/forum/user/36157-dezajn)

Less More

- Posts: 24
- Thank you received: 0
-
-
-

11 years 8 months ago -  11 years 8 months ago [\#191646](#191646) by [dezajn](/forum/user/36157-dezajn "View dezajn's Profile")  *[Filter not translated when "inside"](/forum/45-filters-search/875149-filter-not-translated-when-inside#191646 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.12 -- Browser(s) name and version -- : Firefox 35.0.1  Hello,  The title of the filters are not translated when they are displayed &quot;inside&quot; a text box (they are when displayed left, right, top, bottom) ! Can you correct this problem ?  Best regards")* was created by *[dezajn](/forum/user/36157-dezajn "View dezajn's Profile")*

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.12
-- Browser(s) name and version -- : Firefox 35.0.1

Hello,

The title of the filters are not translated when they are displayed "inside" a text box (they are when displayed left, right, top, bottom) !
Can you correct this problem ?

Best regards

Last edit: 11 years 8 months ago by [dezajn](/forum/user/36157-dezajn "View dezajn's Profile"). Reason: topic icon -&gt; solved

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NTE0OS1maWx0ZXItbm90LXRyYW5zbGF0ZWQtd2hlbi1pbnNpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

11 years 8 months ago [\#191654](#191654) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Filter not translated when "inside"](/forum/45-filters-search/875149-filter-not-translated-when-inside#191654 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.12 -- Browser(s) name and version -- : Firefox 35.0.1  Hello,  The title of the filters are not translated when they are displayed &quot;inside&quot; a text box (they are when displayed left, right, top, bottom) ! Can you correct this problem ?  Best regards")*

Hi,

Thank you for your feedback.
Change the line:
$name=$filter-&gt;filter_name;
to:
$name=$this-&gt;trans($filter-&gt;filter_name);

in the file administrator/components/com_hikashop/classes/field.php and that will fix the problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NTE0OS1maWx0ZXItbm90LXRyYW5zbGF0ZWQtd2hlbi1pbnNpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[dezajn](/forum/user/36157-dezajn "View dezajn's Profile")**
- [![dezajn's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36157-dezajn "View dezajn's Profile") Topic Author
- [ Offline](/forum/user/36157-dezajn)

Less More

- Posts: 24
- Thank you received: 0
-
-
-

11 years 8 months ago [\#191684](#191684) by [dezajn](/forum/user/36157-dezajn "View dezajn's Profile")  Replied by *[dezajn](/forum/user/36157-dezajn "View dezajn's Profile")* on topic *[Filter not translated when "inside"](/forum/45-filters-search/875149-filter-not-translated-when-inside#191684 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.12 -- Browser(s) name and version -- : Firefox 35.0.1  Hello,  The title of the filters are not translated when they are displayed &quot;inside&quot; a text box (they are when displayed left, right, top, bottom) ! Can you correct this problem ?  Best regards")*

I changed the code in filter.php

The text is now translated but the results are incorrect (please see the captures images)

- [ ![Array&#95;to&#95;string&#95;conversion&#95;3.jpg](/forum/attachment/22574) ](/forum/attachment/22574 "...nversion&#95;3.jpg") [ ](/forum/attachment/22574?download=1 "...nversion&#95;3.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NTE0OS1maWx0ZXItbm90LXRyYW5zbGF0ZWQtd2hlbi1pbnNpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

11 years 8 months ago [\#191685](#191685) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Filter not translated when "inside"](/forum/45-filters-search/875149-filter-not-translated-when-inside#191685 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.12 -- Browser(s) name and version -- : Firefox 35.0.1  Hello,  The title of the filters are not translated when they are displayed &quot;inside&quot; a text box (they are when displayed left, right, top, bottom) ! Can you correct this problem ?  Best regards")*

Hi,

Ok. Then, change that same line to :
$name=strip_tags($this-&gt;trans($filter-&gt;filter_name));

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NTE0OS1maWx0ZXItbm90LXRyYW5zbGF0ZWQtd2hlbi1pbnNpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[dezajn](/forum/user/36157-dezajn "View dezajn's Profile")**
- [![dezajn's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36157-dezajn "View dezajn's Profile") Topic Author
- [ Offline](/forum/user/36157-dezajn)

Less More

- Posts: 24
- Thank you received: 0
-
-
-

11 years 8 months ago [\#191710](#191710) by [dezajn](/forum/user/36157-dezajn "View dezajn's Profile")  Replied by *[dezajn](/forum/user/36157-dezajn "View dezajn's Profile")* on topic *[Filter not translated when "inside"](/forum/45-filters-search/875149-filter-not-translated-when-inside#191710 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.12 -- Browser(s) name and version -- : Firefox 35.0.1  Hello,  The title of the filters are not translated when they are displayed &quot;inside&quot; a text box (they are when displayed left, right, top, bottom) ! Can you correct this problem ?  Best regards")*

Hello,

I didn't solve the problem.
Did I broke something when I changed filter.php ?

- [ ![Filter&#95;-&#95;strange&#95;div&#95;3.jpg](/forum/attachment/22580) ](/forum/attachment/22580 "...ange&#95;div&#95;3.jpg") [ ](/forum/attachment/22580?download=1 "...ange&#95;div&#95;3.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NTE0OS1maWx0ZXItbm90LXRyYW5zbGF0ZWQtd2hlbi1pbnNpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

11 years 8 months ago [\#191740](#191740) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Filter not translated when "inside"](/forum/45-filters-search/875149-filter-not-translated-when-inside#191740 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.12 -- Browser(s) name and version -- : Firefox 35.0.1  Hello,  The title of the filters are not translated when they are displayed &quot;inside&quot; a text box (they are when displayed left, right, top, bottom) ! Can you correct this problem ?  Best regards")*

Hi,

I don't see how that's possible with that modification.
Can you double check that you made it correctly ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NTE0OS1maWx0ZXItbm90LXRyYW5zbGF0ZWQtd2hlbi1pbnNpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[dezajn](/forum/user/36157-dezajn "View dezajn's Profile")**
- [![dezajn's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36157-dezajn "View dezajn's Profile") Topic Author
- [ Offline](/forum/user/36157-dezajn)

Less More

- Posts: 24
- Thank you received: 0
-
-
-

11 years 8 months ago [\#191855](#191855) by [dezajn](/forum/user/36157-dezajn "View dezajn's Profile")  Replied by *[dezajn](/forum/user/36157-dezajn "View dezajn's Profile")* on topic *[Filter not translated when "inside"](/forum/45-filters-search/875149-filter-not-translated-when-inside#191855 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.12 -- Browser(s) name and version -- : Firefox 35.0.1  Hello,  The title of the filters are not translated when they are displayed &quot;inside&quot; a text box (they are when displayed left, right, top, bottom) ! Can you correct this problem ?  Best regards")*

Hello,

I upadated filter.php with [ this one](http://www.hikashop.com/forum/filters-search/874944-1054-error-on-filters.html#191851).
I deleted and recreated my filters and the translated titles are correctly displayed inside the filters.

But now there is a new problem : the (translated) titles inside the filter are used as search terms when there are multiple filters !
If I don't remove the titles, they get searched. Please see the enclosed picture.

Best regards.

- [ ![Translated&#95;filter&#95;inside&#95;1.jpg](/forum/attachment/22600) ](/forum/attachment/22600 "...r&#95;inside&#95;1.jpg") [ ](/forum/attachment/22600?download=1 "...r&#95;inside&#95;1.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NTE0OS1maWx0ZXItbm90LXRyYW5zbGF0ZWQtd2hlbi1pbnNpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

11 years 8 months ago [\#191878](#191878) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Filter not translated when "inside"](/forum/45-filters-search/875149-filter-not-translated-when-inside#191878 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.12 -- Browser(s) name and version -- : Firefox 35.0.1  Hello,  The title of the filters are not translated when they are displayed &quot;inside&quot; a text box (they are when displayed left, right, top, bottom) ! Can you correct this problem ?  Best regards")*

Hi,

Ah, yes, I didn't think of that.
Change the code:
$name=strip_tags($this-&gt;trans($filter-&gt;filter_name));
$onClick=' onclick="this.value=\'\';"';

to:
$onClick=' placeholder="'.strip_tags($this-&gt;trans($filter-&gt;filter_name)).'"';

and that should work properly.

The following user(s) said Thank You: [dezajn](/forum/user/36157-dezajn "View dezajn's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NTE0OS1maWx0ZXItbm90LXRyYW5zbGF0ZWQtd2hlbi1pbnNpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[dezajn](/forum/user/36157-dezajn "View dezajn's Profile")**
- [![dezajn's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36157-dezajn "View dezajn's Profile") Topic Author
- [ Offline](/forum/user/36157-dezajn)

Less More

- Posts: 24
- Thank you received: 0
-
-
-

11 years 8 months ago [\#191992](#191992) by [dezajn](/forum/user/36157-dezajn "View dezajn's Profile")  Replied by *[dezajn](/forum/user/36157-dezajn "View dezajn's Profile")* on topic *[Filter not translated when "inside"](/forum/45-filters-search/875149-filter-not-translated-when-inside#191992 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.12 -- Browser(s) name and version -- : Firefox 35.0.1  Hello,  The title of the filters are not translated when they are displayed &quot;inside&quot; a text box (they are when displayed left, right, top, bottom) ! Can you correct this problem ?  Best regards")*

Hello,

Now it works perfectly.

Merci beaucoup.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NTE0OS1maWx0ZXItbm90LXRyYW5zbGF0ZWQtd2hlbi1pbnNpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[dezajn](/forum/user/36157-dezajn "View dezajn's Profile")**
- [![dezajn's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36157-dezajn "View dezajn's Profile") Topic Author
- [ Offline](/forum/user/36157-dezajn)

Less More

- Posts: 24
- Thank you received: 0
-
-
-

10 years 9 months ago -  10 years 9 months ago [\#226106](#226106) by [dezajn](/forum/user/36157-dezajn "View dezajn's Profile")  Replied by *[dezajn](/forum/user/36157-dezajn "View dezajn's Profile")* on topic *[Filter not translated when "inside"](/forum/45-filters-search/875149-filter-not-translated-when-inside#226106 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.12 -- Browser(s) name and version -- : Firefox 35.0.1  Hello,  The title of the filters are not translated when they are displayed &quot;inside&quot; a text box (they are when displayed left, right, top, bottom) ! Can you correct this problem ?  Best regards")*

Hello,

Since i have updated hikashop to 2.6.0 the translated names of some filters, when the name are "inside", don't work anymore.

In the picture :
- in red : simple list -&gt; not translated
- in blue : multiple list -&gt; not translated
- in green : radio button -&gt; translated

Can you update filter.php ?

- [ ![Translated&#95;captions.png](/forum/attachment/28801) ](/forum/attachment/28801 "...d&#95;captions.png") [ ](/forum/attachment/28801?download=1 "...d&#95;captions.png")

Last edit: 10 years 9 months ago by [dezajn](/forum/user/36157-dezajn "View dezajn's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NTE0OS1maWx0ZXItbm90LXRyYW5zbGF0ZWQtd2hlbi1pbnNpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

10 years 8 months ago [\#227666](#227666) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Filter not translated when "inside"](/forum/45-filters-search/875149-filter-not-translated-when-inside#227666 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.12 -- Browser(s) name and version -- : Firefox 35.0.1  Hello,  The title of the filters are not translated when they are displayed &quot;inside&quot; a text box (they are when displayed left, right, top, bottom) ! Can you correct this problem ?  Best regards")*

Hi,

The patch that Nicolas gave in the post "191878" is included in HikaShop packages.
So the translations in text filters should work properly.
Now I can see that the "dropdown" filters do not handle properly the translations, so you need to replace Code:

$html.='&lt;OPTION VALUE="none"&gt;'.$filter-&gt;filter_name.'&lt;/OPTION&gt;';

By Code:

$html.='&lt;OPTION VALUE="none"&gt;'.strip_tags($this-&gt;trans($filter-&gt;filter_name).'&lt;/OPTION&gt;';

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NTE0OS1maWx0ZXItbm90LXRyYW5zbGF0ZWQtd2hlbi1pbnNpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[dezajn](/forum/user/36157-dezajn "View dezajn's Profile")**
- [![dezajn's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36157-dezajn "View dezajn's Profile") Topic Author
- [ Offline](/forum/user/36157-dezajn)

Less More

- Posts: 24
- Thank you received: 0
-
-
-

10 years 8 months ago -  10 years 8 months ago [\#227840](#227840) by [dezajn](/forum/user/36157-dezajn "View dezajn's Profile")  Replied by *[dezajn](/forum/user/36157-dezajn "View dezajn's Profile")* on topic *[Filter not translated when "inside"](/forum/45-filters-search/875149-filter-not-translated-when-inside#227840 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.12 -- Browser(s) name and version -- : Firefox 35.0.1  Hello,  The title of the filters are not translated when they are displayed &quot;inside&quot; a text box (they are when displayed left, right, top, bottom) ! Can you correct this problem ?  Best regards")*

Hello,

1. Code:

$html.='&lt;OPTION VALUE="none"&gt;'.strip_tags($this-&gt;trans($filter-&gt;filter_name)).'&lt;/OPTION&gt;';

-&gt; Now the filter name in the dropdown is translated, but the title inside the filter is still not translated.

2.
Just a note if someone else as this problem : hikashop 2.6.1 already as this code included.

3.
The titles inside the filters are still not translated (please see the enclosed picture).
[ ![Inside&#95;filter&#95;non&#95;translated.jpg](/forum/attachment/29084) ](/forum/attachment/29084 "...translated.jpg")

Can you update the code ?

Best regards.

- [ ![Inside&#95;filter&#95;non&#95;translated.jpg](/forum/attachment/29084) ](/forum/attachment/29084 "...translated.jpg") [ ](/forum/attachment/29084?download=1 "...translated.jpg")

Last edit: 10 years 8 months ago by [dezajn](/forum/user/36157-dezajn "View dezajn's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NTE0OS1maWx0ZXItbm90LXRyYW5zbGF0ZWQtd2hlbi1pbnNpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

10 years 8 months ago [\#227943](#227943) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Filter not translated when "inside"](/forum/45-filters-search/875149-filter-not-translated-when-inside#227943 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.12 -- Browser(s) name and version -- : Firefox 35.0.1  Hello,  The title of the filters are not translated when they are displayed &quot;inside&quot; a text box (they are when displayed left, right, top, bottom) ! Can you correct this problem ?  Best regards")*

Hi,

I'm sorry but I cannot.
I don't understand what your screenshot is.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NTE0OS1maWx0ZXItbm90LXRyYW5zbGF0ZWQtd2hlbi1pbnNpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[dezajn](/forum/user/36157-dezajn "View dezajn's Profile")**
- [![dezajn's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36157-dezajn "View dezajn's Profile") Topic Author
- [ Offline](/forum/user/36157-dezajn)

Less More

- Posts: 24
- Thank you received: 0
-
-
-

10 years 8 months ago -  10 years 8 months ago [\#227999](#227999) by [dezajn](/forum/user/36157-dezajn "View dezajn's Profile")  Replied by *[dezajn](/forum/user/36157-dezajn "View dezajn's Profile")* on topic *[Filter not translated when "inside"](/forum/45-filters-search/875149-filter-not-translated-when-inside#227999 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.12 -- Browser(s) name and version -- : Firefox 35.0.1  Hello,  The title of the filters are not translated when they are displayed &quot;inside&quot; a text box (they are when displayed left, right, top, bottom) ! Can you correct this problem ?  Best regards")*

Sorry, i'll try to explain it in a simpler way.
I have MultipleDropdown filters (with custom fields)

When I clic on the filter the title is translated :
[ ![MultipleDropDown2.jpg](/forum/attachment/29113) ](/forum/attachment/29113 "...eDropDown2.jpg")

(Here : "Couleur principale")

But when I don't clic on the filter, the title is not translated when positionned inside.
[ ![MultipleDropDown1.jpg](/forum/attachment/29114) ](/forum/attachment/29114 "...eDropDown1.jpg")

(Here : "LUMEPIX_FILTRE_COLORS")

- [ ![MultipleDropDown2.jpg](/forum/attachment/29113) ](/forum/attachment/29113 "...eDropDown2.jpg") [ ](/forum/attachment/29113?download=1 "...eDropDown2.jpg")
- [ ![MultipleDropDown1.jpg](/forum/attachment/29114) ](/forum/attachment/29114 "...eDropDown1.jpg") [ ](/forum/attachment/29114?download=1 "...eDropDown1.jpg")

Last edit: 10 years 8 months ago by [dezajn](/forum/user/36157-dezajn "View dezajn's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NTE0OS1maWx0ZXItbm90LXRyYW5zbGF0ZWQtd2hlbi1pbnNpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

10 years 8 months ago [\#228053](#228053) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Filter not translated when "inside"](/forum/45-filters-search/875149-filter-not-translated-when-inside#228053 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.12 -- Browser(s) name and version -- : Firefox 35.0.1  Hello,  The title of the filters are not translated when they are displayed &quot;inside&quot; a text box (they are when displayed left, right, top, bottom) ! Can you correct this problem ?  Best regards")*

Hello,
I just tested it on my end and it worked fine, can you give me a temporary back-end / FTP access to your shop so that we can directly test and debug it ?
Note that you can send it through our contact form by specifying the link of that thread :
[ www.hikashop.com/support/contact-us.html](http://www.hikashop.com/support/contact-us.html)
Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NTE0OS1maWx0ZXItbm90LXRyYW5zbGF0ZWQtd2hlbi1pbnNpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

10 years 8 months ago [\#228428](#228428) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Filter not translated when "inside"](/forum/45-filters-search/875149-filter-not-translated-when-inside#228428 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.12 -- Browser(s) name and version -- : Firefox 35.0.1  Hello,  The title of the filters are not translated when they are displayed &quot;inside&quot; a text box (they are when displayed left, right, top, bottom) ! Can you correct this problem ?  Best regards")*

Hi,

We got the access.

So the issue comes from the data-placeholder that is added. I don't know how it's added as we don't have such code in HikaShop.
I'm thinking it must be added by something else on your website: [ take.ms/xJXZE](http://take.ms/xJXZE)
Also, if you turn off the "use chosen library" setting of the HikaShop configuration, it should hopefully avoid the problem, but I couldn't test as the user account you provided doesn't have access to the HikaShop configuration.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NTE0OS1maWx0ZXItbm90LXRyYW5zbGF0ZWQtd2hlbi1pbnNpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[dezajn](/forum/user/36157-dezajn "View dezajn's Profile")**
- [![dezajn's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36157-dezajn "View dezajn's Profile") Topic Author
- [ Offline](/forum/user/36157-dezajn)

Less More

- Posts: 24
- Thank you received: 0
-
-
-

10 years 8 months ago [\#228577](#228577) by [dezajn](/forum/user/36157-dezajn "View dezajn's Profile")  Replied by *[dezajn](/forum/user/36157-dezajn "View dezajn's Profile")* on topic *[Filter not translated when "inside"](/forum/45-filters-search/875149-filter-not-translated-when-inside#228577 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.12 -- Browser(s) name and version -- : Firefox 35.0.1  Hello,  The title of the filters are not translated when they are displayed &quot;inside&quot; a text box (they are when displayed left, right, top, bottom) ! Can you correct this problem ?  Best regards")*

Hello,

The account I made for you should give you full access to the joomla backend. Maybe you tried the login/pass for the ftp access instead of the joomla access ?
I forgot to tell you that the shop page can be accessed here : [ ](http://www.lumepix.com/boutique-film-fr)[ www.lumepix.com/boutique-film-fr](http://www.lumepix.com/boutique-film-fr)

If I disable "chosen library" the titles are translated but the esthetic is bad and it also change all the dropdown from the website. So, we'd prefer another solution.

If I change the filter type from "Multiple Drop Down" to "Single Drop Down" the title is inside and translated !
Can you check your code for the Multiple Drop Down ?

Maybe I should re-install the last hikashop update ?

Best regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NTE0OS1maWx0ZXItbm90LXRyYW5zbGF0ZWQtd2hlbi1pbnNpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

10 years 8 months ago [\#228580](#228580) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Filter not translated when "inside"](/forum/45-filters-search/875149-filter-not-translated-when-inside#228580 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.12 -- Browser(s) name and version -- : Firefox 35.0.1  Hello,  The title of the filters are not translated when they are displayed &quot;inside&quot; a text box (they are when displayed left, right, top, bottom) ! Can you correct this problem ?  Best regards")*

Hi,

The multiple dropdown !
That a very important and useful information.

So you can replace : Code:

$multiple='multiple="multiple" size="5" data-placeholder="'.$filter-&gt;filter_name.'"';

By Code:

$multiple='multiple="multiple" size="5" data-placeholder="'.strip_tags($this-&gt;trans($filter-&gt;filter_name)).'"';

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [dezajn](/forum/user/36157-dezajn "View dezajn's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NTE0OS1maWx0ZXItbm90LXRyYW5zbGF0ZWQtd2hlbi1pbnNpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[dezajn](/forum/user/36157-dezajn "View dezajn's Profile")**
- [![dezajn's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36157-dezajn "View dezajn's Profile") Topic Author
- [ Offline](/forum/user/36157-dezajn)

Less More

- Posts: 24
- Thank you received: 0
-
-
-

10 years 8 months ago [\#228720](#228720) by [dezajn](/forum/user/36157-dezajn "View dezajn's Profile")  Replied by *[dezajn](/forum/user/36157-dezajn "View dezajn's Profile")* on topic *[Filter not translated when "inside"](/forum/45-filters-search/875149-filter-not-translated-when-inside#228720 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.12 -- Browser(s) name and version -- : Firefox 35.0.1  Hello,  The title of the filters are not translated when they are displayed &quot;inside&quot; a text box (they are when displayed left, right, top, bottom) ! Can you correct this problem ?  Best regards")*

Thank you.
Everything is ok with your modification.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ZpbHRlcnMtc2VhcmNoLzg3NTE0OS1maWx0ZXItbm90LXRyYW5zbGF0ZWQtd2hlbi1pbnNpZGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.548 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
