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

#   Letters s and f changes in prod alias translations

##

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

Less More

- Posts: 50
- Thank you received: 1
-
-

12 years 5 months ago [\#154668](#154668) by [matback](/forum/user/13291-matback "View matback's Profile")  *[Letters s and f changes in prod alias translations](/forum/26-product-category-display/867928-letters-s-and-f-changes-in-prod-alias-translations#154668 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.0  Hi. I have a multilingual site. English and Swedish. The links of product name alias get changed in swedish &quot;mode&quot;. The letter s becomes r and letter f becomes ph. (Maybe other characters gets changed as well, I don't know). Even the category names gets changed. This appears in both category and product listing. I think this was due to an update. I just recently noticed the problem. I had no problem with this before.  Eg.  In english (correct) (domain.com)/en/sheet-music/product/1-blues-for-r-duo-as-as  In swedish (wrong) (domain.com)/sv/noter/product/1-bluer-phor-r-duo-ar-ar  The product name is in english and I don´t want the names to change in swedish translation.  I have tried to put the correct alias in the translation field. Both via hikashop and in Falang. Clearing cache done. Still having the same problem.  Any ideas?  Regards  Mathias")* was created by *[matback](/forum/user/13291-matback "View matback's Profile")*

-- HikaShop version -- : 2.3.0
-- Joomla version -- : 3.3.0

Hi.
I have a multilingual site. English and Swedish. The links of product name alias get changed in swedish "mode". The letter s becomes r and letter f becomes ph. (Maybe other characters gets changed as well, I don't know). Even the category names gets changed. This appears in both category and product listing. I think this was due to an update. I just recently noticed the problem. I had no problem with this before.

Eg.

In english (correct)
(domain.com)/en/sheet-music/product/1-blues-for-r-duo-as-as

In swedish (wrong)
(domain.com)/sv/noter/product/1-bluer-phor-r-duo-ar-ar

The product name is in english and I don´t want the names to change in swedish translation.

I have tried to put the correct alias in the translation field. Both via hikashop and in Falang. Clearing cache done. Still having the same problem.

Any ideas?

Regards

Mathias

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

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

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 5 months ago [\#154720](#154720) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Letters s and f changes in prod alias translations](/forum/26-product-category-display/867928-letters-s-and-f-changes-in-prod-alias-translations#154720 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.0  Hi. I have a multilingual site. English and Swedish. The links of product name alias get changed in swedish &quot;mode&quot;. The letter s becomes r and letter f becomes ph. (Maybe other characters gets changed as well, I don't know). Even the category names gets changed. This appears in both category and product listing. I think this was due to an update. I just recently noticed the problem. I had no problem with this before.  Eg.  In english (correct) (domain.com)/en/sheet-music/product/1-blues-for-r-duo-as-as  In swedish (wrong) (domain.com)/sv/noter/product/1-bluer-phor-r-duo-ar-ar  The product name is in english and I don´t want the names to change in swedish translation.  I have tried to put the correct alias in the translation field. Both via hikashop and in Falang. Clearing cache done. Still having the same problem.  Any ideas?  Regards  Mathias")*

Hi,

Do you have set this translation anywhere ?
Can you try to change the product name ? I guess that for the sef urls the name can be used instead of the alias.

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

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

Less More

- Posts: 50
- Thank you received: 1
-
-

12 years 5 months ago [\#154779](#154779) by [matback](/forum/user/13291-matback "View matback's Profile")  Replied by *[matback](/forum/user/13291-matback "View matback's Profile")* on topic *[Letters s and f changes in prod alias translations](/forum/26-product-category-display/867928-letters-s-and-f-changes-in-prod-alias-translations#154779 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.0  Hi. I have a multilingual site. English and Swedish. The links of product name alias get changed in swedish &quot;mode&quot;. The letter s becomes r and letter f becomes ph. (Maybe other characters gets changed as well, I don't know). Even the category names gets changed. This appears in both category and product listing. I think this was due to an update. I just recently noticed the problem. I had no problem with this before.  Eg.  In english (correct) (domain.com)/en/sheet-music/product/1-blues-for-r-duo-as-as  In swedish (wrong) (domain.com)/sv/noter/product/1-bluer-phor-r-duo-ar-ar  The product name is in english and I don´t want the names to change in swedish translation.  I have tried to put the correct alias in the translation field. Both via hikashop and in Falang. Clearing cache done. Still having the same problem.  Any ideas?  Regards  Mathias")*

No I have not set any translation.

I tried:
1. Changed the product name to "SFBlues for R -duo as/as".
2.Turned off atomatic alias filling in sef settings.
3. Cleared the alias field in product edit and in falang.

Result is:
English (correct):
(domain.com)/en/sheet-music/product/1-sfblues-for-r-duo-as-as

Swedish (wrong)
(domain.com)/sv/noter/product/1-rphbluer-phor-r-duo-ar-ar

Ahrrg!!

I'm stuck here. Maybe you can take a look in my admin?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Njc5MjgtbGV0dGVycy1zLWFuZC1mLWNoYW5nZXMtaW4tcHJvZC1hbGlhcy10cmFuc2xhdGlvbnM/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: 86290
- Thank you received: 14268
-
-

12 years 5 months ago [\#154796](#154796) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Letters s and f changes in prod alias translations](/forum/26-product-category-display/867928-letters-s-and-f-changes-in-prod-alias-translations#154796 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.0  Hi. I have a multilingual site. English and Swedish. The links of product name alias get changed in swedish &quot;mode&quot;. The letter s becomes r and letter f becomes ph. (Maybe other characters gets changed as well, I don't know). Even the category names gets changed. This appears in both category and product listing. I think this was due to an update. I just recently noticed the problem. I had no problem with this before.  Eg.  In english (correct) (domain.com)/en/sheet-music/product/1-blues-for-r-duo-as-as  In swedish (wrong) (domain.com)/sv/noter/product/1-bluer-phor-r-duo-ar-ar  The product name is in english and I don´t want the names to change in swedish translation.  I have tried to put the correct alias in the translation field. Both via hikashop and in Falang. Clearing cache done. Still having the same problem.  Any ideas?  Regards  Mathias")*

Please make sure that you turn off all the caching of your website (joomla configuration, template configuration, joomla system cache plugin) or you won't see the new links.

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

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

Less More

- Posts: 50
- Thank you received: 1
-
-

12 years 5 months ago [\#154867](#154867) by [matback](/forum/user/13291-matback "View matback's Profile")  Replied by *[matback](/forum/user/13291-matback "View matback's Profile")* on topic *[Letters s and f changes in prod alias translations](/forum/26-product-category-display/867928-letters-s-and-f-changes-in-prod-alias-translations#154867 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.0  Hi. I have a multilingual site. English and Swedish. The links of product name alias get changed in swedish &quot;mode&quot;. The letter s becomes r and letter f becomes ph. (Maybe other characters gets changed as well, I don't know). Even the category names gets changed. This appears in both category and product listing. I think this was due to an update. I just recently noticed the problem. I had no problem with this before.  Eg.  In english (correct) (domain.com)/en/sheet-music/product/1-blues-for-r-duo-as-as  In swedish (wrong) (domain.com)/sv/noter/product/1-bluer-phor-r-duo-ar-ar  The product name is in english and I don´t want the names to change in swedish translation.  I have tried to put the correct alias in the translation field. Both via hikashop and in Falang. Clearing cache done. Still having the same problem.  Any ideas?  Regards  Mathias")*

My template don't have cache handling. Joomla config cache is turned off. System cache plugin is disabled.

I do see the new links, it's just that links when in swedish language mode changes the letter s to r and the letter f becomes ph. See prev post for example. The links works when clicked on. Strange!

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

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

Less More

- Posts: 50
- Thank you received: 1
-
-

12 years 5 months ago [\#154997](#154997) by [matback](/forum/user/13291-matback "View matback's Profile")  Replied by *[matback](/forum/user/13291-matback "View matback's Profile")* on topic *[Letters s and f changes in prod alias translations](/forum/26-product-category-display/867928-letters-s-and-f-changes-in-prod-alias-translations#154997 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.0  Hi. I have a multilingual site. English and Swedish. The links of product name alias get changed in swedish &quot;mode&quot;. The letter s becomes r and letter f becomes ph. (Maybe other characters gets changed as well, I don't know). Even the category names gets changed. This appears in both category and product listing. I think this was due to an update. I just recently noticed the problem. I had no problem with this before.  Eg.  In english (correct) (domain.com)/en/sheet-music/product/1-blues-for-r-duo-as-as  In swedish (wrong) (domain.com)/sv/noter/product/1-bluer-phor-r-duo-ar-ar  The product name is in english and I don´t want the names to change in swedish translation.  I have tried to put the correct alias in the translation field. Both via hikashop and in Falang. Clearing cache done. Still having the same problem.  Any ideas?  Regards  Mathias")*

Still having this problem.

It's not only swedish link to products that gets vierd and altered. It's the category names as well.

I have a category named "Saxofon" and a child category named "Saxofonduo".

The links appears as:
/sv/kategorier/21-raxophon (s is replaced by r and the f is replaced by ph)

and

/sv/kategorier/12-raxophonduo (s is replaced by r and the f is replaced by ph)

I really need help with this.

Mathias

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

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

Less More

- Posts: 50
- Thank you received: 1
-
-

12 years 5 months ago [\#155406](#155406) by [matback](/forum/user/13291-matback "View matback's Profile")  Replied by *[matback](/forum/user/13291-matback "View matback's Profile")* on topic *[Letters s and f changes in prod alias translations](/forum/26-product-category-display/867928-letters-s-and-f-changes-in-prod-alias-translations#155406 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.0  Hi. I have a multilingual site. English and Swedish. The links of product name alias get changed in swedish &quot;mode&quot;. The letter s becomes r and letter f becomes ph. (Maybe other characters gets changed as well, I don't know). Even the category names gets changed. This appears in both category and product listing. I think this was due to an update. I just recently noticed the problem. I had no problem with this before.  Eg.  In english (correct) (domain.com)/en/sheet-music/product/1-blues-for-r-duo-as-as  In swedish (wrong) (domain.com)/sv/noter/product/1-bluer-phor-r-duo-ar-ar  The product name is in english and I don´t want the names to change in swedish translation.  I have tried to put the correct alias in the translation field. Both via hikashop and in Falang. Clearing cache done. Still having the same problem.  Any ideas?  Regards  Mathias")*

Problem remains...

Turned off Joomla sef.

Link product listing: Code:

index.php?option=com_hikashop&amp;ctrl=product&amp;task=show&amp;cid=1&amp;name=rphbluer-phor-r-duo-ar-ar&amp;Itemid=491&amp;lang=sv

the product link name should be: **sfblues-for-r-duo-as-as**

Link category listing: Code:

index.php?option=com_hikashop&amp;ctrl=category&amp;task=listing&amp;cid=21&amp;name=raxophon&amp;Itemid=490&amp;lang=sv

the category name should be: **saxofon**

The system somehow replaces s with r, and f with ph.

As mentioned in prev post the links works. It's the names that are wrong. (In english language everything is good.)

Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Njc5MjgtbGV0dGVycy1zLWFuZC1mLWNoYW5nZXMtaW4tcHJvZC1hbGlhcy10cmFuc2xhdGlvbnM/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)
-

12 years 5 months ago [\#155420](#155420) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Letters s and f changes in prod alias translations](/forum/26-product-category-display/867928-letters-s-and-f-changes-in-prod-alias-translations#155420 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.0  Hi. I have a multilingual site. English and Swedish. The links of product name alias get changed in swedish &quot;mode&quot;. The letter s becomes r and letter f becomes ph. (Maybe other characters gets changed as well, I don't know). Even the category names gets changed. This appears in both category and product listing. I think this was due to an update. I just recently noticed the problem. I had no problem with this before.  Eg.  In english (correct) (domain.com)/en/sheet-music/product/1-blues-for-r-duo-as-as  In swedish (wrong) (domain.com)/sv/noter/product/1-bluer-phor-r-duo-ar-ar  The product name is in english and I don´t want the names to change in swedish translation.  I have tried to put the correct alias in the translation field. Both via hikashop and in Falang. Clearing cache done. Still having the same problem.  Any ideas?  Regards  Mathias")*

Hi,

The product name you got in the url is the "product alias".
This alias is generated in the function "addAlias" for the product class ( administrator/components/com_hikashop/classes/product.php ) and more precisely, this code: Code:

$config = JFactory::getConfig(); if(!$config-&gt;get('unicodeslugs')){ $lang = JFactory::getLanguage(); $element-&gt;alias = $lang-&gt;transliterate($element-&gt;alias); } $app = JFactory::getApplication(); if(method_exists($app,'stringURLSafe')){ $element-&gt;alias = $app-&gt;stringURLSafe($element-&gt;alias); }else{ $element-&gt;alias = JFilterOutput::stringURLSafe($element-&gt;alias); }

The goal of the code is to :
1 - Make a transliteration when the Joomla option "unicodeslugs" is not activated.
2 - Call the Joomla url safe function for the security.

I think that your problem is with the transliteration.
As you can see in the code, this function is a Joomla function of the Joomla language system.
You can see to put some debug traces in the class to display the "$element-&gt;alias" before and after the call of the transliterate function, to see that this function make the modification or not.
But I really think that the Joomla transliteration for the swedish language, made these modifications.
If so, you can see to change the Joomla option "unicodeslugs" to not use the transliteration.

Regards,

---

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

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

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

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

Less More

- Posts: 50
- Thank you received: 1
-
-

12 years 5 months ago [\#155466](#155466) by [matback](/forum/user/13291-matback "View matback's Profile")  Replied by *[matback](/forum/user/13291-matback "View matback's Profile")* on topic *[Letters s and f changes in prod alias translations](/forum/26-product-category-display/867928-letters-s-and-f-changes-in-prod-alias-translations#155466 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.0  Hi. I have a multilingual site. English and Swedish. The links of product name alias get changed in swedish &quot;mode&quot;. The letter s becomes r and letter f becomes ph. (Maybe other characters gets changed as well, I don't know). Even the category names gets changed. This appears in both category and product listing. I think this was due to an update. I just recently noticed the problem. I had no problem with this before.  Eg.  In english (correct) (domain.com)/en/sheet-music/product/1-blues-for-r-duo-as-as  In swedish (wrong) (domain.com)/sv/noter/product/1-bluer-phor-r-duo-ar-ar  The product name is in english and I don´t want the names to change in swedish translation.  I have tried to put the correct alias in the translation field. Both via hikashop and in Falang. Clearing cache done. Still having the same problem.  Any ideas?  Regards  Mathias")*

Yeeah!!! I got it working ![:cheer:](/media/kunena/emoticons/10.png ":cheer:") ![:cheer:](/media/kunena/emoticons/10.png ":cheer:")

Thanks Jerome, you were spot on. I found sereral errors in the the function transliterate(), sv-SE.localise.php for the swedish language. Actually that file is badly maintained, I will mail the language guys and give them the correct values of that function.

Many thanks for guiding me in the right direction ![:cheer:](/media/kunena/emoticons/10.png ":cheer:") .

Best regards
Mathias

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Njc5MjgtbGV0dGVycy1zLWFuZC1mLWNoYW5nZXMtaW4tcHJvZC1hbGlhcy10cmFuc2xhdGlvbnM/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.296 seconds

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

[](#top)
