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

#   default currency depending on language

##

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

Less More

- Posts: 19
- Thank you received: 0
-
-

15 years 8 months ago [\#8776](#8776) by [kohypon](/forum/user/882-kohypon "View kohypon's Profile")  *[default currency depending on language](/forum/4-how-to/8776-default-currency-depending-on-language#8776 "Hi,  I am using Hikashop Essential so I have no option of using the geolocation plugin for this issue.  It would be very useful for me to change the displayed (default) currency according to the joomfish language the user switched to on my page. e.g. If the user switches to czech language, the prices are shown in czech crowns. In addition I will display the currency switcher module for languages that are not associated with only one currency (e.g. english).  Is there a possibility to &quot;link&quot; the language and the currency?  Thanx in advance")* was created by *[kohypon](/forum/user/882-kohypon "View kohypon's Profile")*

Hi,

I am using Hikashop Essential so I have no option of using the geolocation plugin for this issue.

It would be very useful for me to change the displayed (default) currency according to the joomfish language the user switched to on my page.
e.g. If the user switches to czech language, the prices are shown in czech crowns.
In addition I will display the currency switcher module for languages that are not associated with only one currency (e.g. english).

Is there a possibility to "link" the language and the currency?

Thanx in advance

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg3NzYtZGVmYXVsdC1jdXJyZW5jeS1kZXBlbmRpbmctb24tbGFuZ3VhZ2U/c3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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: 86292
- Thank you received: 14271
-
-

15 years 8 months ago -  15 years 8 months ago [\#8777](#8777) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: default currency depending on language](/forum/4-how-to/8776-default-currency-depending-on-language#8777 "Hi,  I am using Hikashop Essential so I have no option of using the geolocation plugin for this issue.  It would be very useful for me to change the displayed (default) currency according to the joomfish language the user switched to on my page. e.g. If the user switches to czech language, the prices are shown in czech crowns. In addition I will display the currency switcher module for languages that are not associated with only one currency (e.g. english).  Is there a possibility to &quot;link&quot; the language and the currency?  Thanx in advance")*

Hi,

Just to avoid any misunderstanding: you can upgrade from hikashop essential to hikashop business on that page: [ www.hikashop.com/en/component/hikashop/product/show/cid-3.html](http://www.hikashop.com/en/component/hikashop/product/show/cid-3.html)

You would have to edit the joomfish code where the language is switched to force the currency_id. You could add something like this:
$app =&amp; JFactory::getApplication();
$app-&gt;setUserState('com_hikashop.currency_id',XX);

where XX is the id of the currency.

Last edit: 15 years 8 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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

Less More

- Posts: 19
- Thank you received: 0
-
-

15 years 8 months ago [\#8888](#8888) by [kohypon](/forum/user/882-kohypon "View kohypon's Profile")  Replied by *[kohypon](/forum/user/882-kohypon "View kohypon's Profile")* on topic *[Re: default currency depending on language](/forum/4-how-to/8776-default-currency-depending-on-language#8888 "Hi,  I am using Hikashop Essential so I have no option of using the geolocation plugin for this issue.  It would be very useful for me to change the displayed (default) currency according to the joomfish language the user switched to on my page. e.g. If the user switches to czech language, the prices are shown in czech crowns. In addition I will display the currency switcher module for languages that are not associated with only one currency (e.g. english).  Is there a possibility to &quot;link&quot; the language and the currency?  Thanx in advance")*

Hi Nicolas,

maybe I will switch to business.

If I add that code, as you said, XX would be the id of the language (the Joomfish-language-code I assume).
But is XX not the specific currency_id value?

Thanx,
kohypon

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg3NzYtZGVmYXVsdC1jdXJyZW5jeS1kZXBlbmRpbmctb24tbGFuZ3VhZ2U/c3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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: 86292
- Thank you received: 14271
-
-

15 years 8 months ago [\#8910](#8910) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: default currency depending on language](/forum/4-how-to/8776-default-currency-depending-on-language#8910 "Hi,  I am using Hikashop Essential so I have no option of using the geolocation plugin for this issue.  It would be very useful for me to change the displayed (default) currency according to the joomfish language the user switched to on my page. e.g. If the user switches to czech language, the prices are shown in czech crowns. In addition I will display the currency switcher module for languages that are not associated with only one currency (e.g. english).  Is there a possibility to &quot;link&quot; the language and the currency?  Thanx in advance")*

Sorry, it's a typo. It's the currency id and not the language id.

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

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

Less More

- Posts: 34
- Thank you received: 0
-
-

15 years 7 months ago [\#12116](#12116) by [davcraiguk](/forum/user/1706-davcraiguk "View davcraiguk's Profile")  Replied by *[davcraiguk](/forum/user/1706-davcraiguk "View davcraiguk's Profile")* on topic *[Re: default currency depending on language](/forum/4-how-to/8776-default-currency-depending-on-language#12116 "Hi,  I am using Hikashop Essential so I have no option of using the geolocation plugin for this issue.  It would be very useful for me to change the displayed (default) currency according to the joomfish language the user switched to on my page. e.g. If the user switches to czech language, the prices are shown in czech crowns. In addition I will display the currency switcher module for languages that are not associated with only one currency (e.g. english).  Is there a possibility to &quot;link&quot; the language and the currency?  Thanx in advance")*

It makes really good sense to be able to switch the currency when a different language is chosen. The mentioned code above I presume could do the job but in what joomfish file does it need inserted? I presume its somewhere in the mod_jflanguageselection?

---

David Craig
Hikashop 1.5.0 Business edition
[ www.charitycanvasprints.com](http://www.charitycanvasprints.com)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg3NzYtZGVmYXVsdC1jdXJyZW5jeS1kZXBlbmRpbmctb24tbGFuZ3VhZ2U/c3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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: 86292
- Thank you received: 14271
-
-

15 years 7 months ago [\#12119](#12119) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: default currency depending on language](/forum/4-how-to/8776-default-currency-depending-on-language#12119 "Hi,  I am using Hikashop Essential so I have no option of using the geolocation plugin for this issue.  It would be very useful for me to change the displayed (default) currency according to the joomfish language the user switched to on my page. e.g. If the user switches to czech language, the prices are shown in czech crowns. In addition I will display the currency switcher module for languages that are not associated with only one currency (e.g. english).  Is there a possibility to &quot;link&quot; the language and the currency?  Thanx in advance")*

I don't know but you might want to ask on the joomfish forum ? They are the specialists ![:)](/media/kunena/emoticons/8.png ":)")
Or maybe kohypon will answer you ?

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

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

Less More

- Posts: 34
- Thank you received: 0
-
-

15 years 7 months ago [\#12144](#12144) by [davcraiguk](/forum/user/1706-davcraiguk "View davcraiguk's Profile")  Replied by *[davcraiguk](/forum/user/1706-davcraiguk "View davcraiguk's Profile")* on topic *[Re: default currency depending on language](/forum/4-how-to/8776-default-currency-depending-on-language#12144 "Hi,  I am using Hikashop Essential so I have no option of using the geolocation plugin for this issue.  It would be very useful for me to change the displayed (default) currency according to the joomfish language the user switched to on my page. e.g. If the user switches to czech language, the prices are shown in czech crowns. In addition I will display the currency switcher module for languages that are not associated with only one currency (e.g. english).  Is there a possibility to &quot;link&quot; the language and the currency?  Thanx in advance")*

Thanks Nicolas, if I get a response from Joomfish forums I'll post back here.

Language and currency are by nature 'nearly' but not always linked...I know Spanish doesn't always link to Euros such as in latin America.
So here's another need; How can you change the language when the currency changes?

In my case this is to avoid a customer ordering a metric size using dollars when the imperial size is what he should see as that what is used and shipped to the US.

---

David Craig
Hikashop 1.5.0 Business edition
[ www.charitycanvasprints.com](http://www.charitycanvasprints.com)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg3NzYtZGVmYXVsdC1jdXJyZW5jeS1kZXBlbmRpbmctb24tbGFuZ3VhZ2U/c3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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: 86292
- Thank you received: 14271
-
-

15 years 7 months ago [\#12145](#12145) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: default currency depending on language](/forum/4-how-to/8776-default-currency-depending-on-language#12145 "Hi,  I am using Hikashop Essential so I have no option of using the geolocation plugin for this issue.  It would be very useful for me to change the displayed (default) currency according to the joomfish language the user switched to on my page. e.g. If the user switches to czech language, the prices are shown in czech crowns. In addition I will display the currency switcher module for languages that are not associated with only one currency (e.g. english).  Is there a possibility to &quot;link&quot; the language and the currency?  Thanx in advance")*

Well, the problem will be similar in the other way around.
There are a lot of languages in the euros zone so when someone selects the euro currency which language will you use ?

That's why we decided to use the geolocation of the user IP in order to select the currency automatically based on where the user is.
For the language selection, that should actually be handled automatically by joomfish based on the language of the browser.

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

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

Less More

- Posts: 152
- Thank you received: 0
-
-
-

15 years 1 month ago [\#25853](#25853) by [plantpotphil](/forum/user/2189-plantpotphil "View plantpotphil's Profile")  Replied by *[plantpotphil](/forum/user/2189-plantpotphil "View plantpotphil's Profile")* on topic *[Re: default currency depending on language](/forum/4-how-to/8776-default-currency-depending-on-language#25853 "Hi,  I am using Hikashop Essential so I have no option of using the geolocation plugin for this issue.  It would be very useful for me to change the displayed (default) currency according to the joomfish language the user switched to on my page. e.g. If the user switches to czech language, the prices are shown in czech crowns. In addition I will display the currency switcher module for languages that are not associated with only one currency (e.g. english).  Is there a possibility to &quot;link&quot; the language and the currency?  Thanx in advance")*

If anyone found/finds a solution to this please let me know! ![:)](/media/kunena/emoticons/8.png ":)")

---

Create your own style of luxury [ bespoke furniture](http://www.clothierjones.com) online

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

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

Less More

- Posts: 198
- Thank you received: 4
-
-

14 years 7 months ago [\#44154](#44154) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  Replied by *[arnask](/forum/user/6752-arnask "View arnask's Profile")* on topic *[Re: default currency depending on language](/forum/4-how-to/8776-default-currency-depending-on-language#44154 "Hi,  I am using Hikashop Essential so I have no option of using the geolocation plugin for this issue.  It would be very useful for me to change the displayed (default) currency according to the joomfish language the user switched to on my page. e.g. If the user switches to czech language, the prices are shown in czech crowns. In addition I will display the currency switcher module for languages that are not associated with only one currency (e.g. english).  Is there a possibility to &quot;link&quot; the language and the currency?  Thanx in advance")*

any news about this together with Falang? Stephane told to contact you nicolas about that...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg3NzYtZGVmYXVsdC1jdXJyZW5jeS1kZXBlbmRpbmctb24tbGFuZ3VhZ2U/c3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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: 86292
- Thank you received: 14271
-
-

14 years 7 months ago [\#44369](#44369) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: default currency depending on language](/forum/4-how-to/8776-default-currency-depending-on-language#44369 "Hi,  I am using Hikashop Essential so I have no option of using the geolocation plugin for this issue.  It would be very useful for me to change the displayed (default) currency according to the joomfish language the user switched to on my page. e.g. If the user switches to czech language, the prices are shown in czech crowns. In addition I will display the currency switcher module for languages that are not associated with only one currency (e.g. english).  Is there a possibility to &quot;link&quot; the language and the currency?  Thanx in advance")*

With Joomla 2.5, the language will be selected automatically based on the browser language.

Regarding the currency displayed, you can still do that with the geolocation system in HikaShop.

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

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

Less More

- Posts: 198
- Thank you received: 4
-
-

14 years 7 months ago [\#44393](#44393) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  Replied by *[arnask](/forum/user/6752-arnask "View arnask's Profile")* on topic *[Re: default currency depending on language](/forum/4-how-to/8776-default-currency-depending-on-language#44393 "Hi,  I am using Hikashop Essential so I have no option of using the geolocation plugin for this issue.  It would be very useful for me to change the displayed (default) currency according to the joomfish language the user switched to on my page. e.g. If the user switches to czech language, the prices are shown in czech crowns. In addition I will display the currency switcher module for languages that are not associated with only one currency (e.g. english).  Is there a possibility to &quot;link&quot; the language and the currency?  Thanx in advance")*

geolocation does not answer this question in 100%
There must be possibility to assign currency to language.
Ofcourse you can paste this: Code:

if ($lang-&gt;get('tag') == "lt-LT" ) { $app-&gt;setUserState('com_hikashop.currency_id',XX); } elseif ($lang-&gt;get('tag') == "en-GB") { $app-&gt;setUserState('com_hikashop.currency_id',XX); }

to 19th row of mod_falang.php (where XX is your currency ID) but the problem is not solved in 100% too.
Currency changes, but page needs to refresh before you actually can see it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg3NzYtZGVmYXVsdC1jdXJyZW5jeS1kZXBlbmRpbmctb24tbGFuZ3VhZ2U/c3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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: 86292
- Thank you received: 14271
-
-

14 years 7 months ago [\#44398](#44398) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: default currency depending on language](/forum/4-how-to/8776-default-currency-depending-on-language#44398 "Hi,  I am using Hikashop Essential so I have no option of using the geolocation plugin for this issue.  It would be very useful for me to change the displayed (default) currency according to the joomfish language the user switched to on my page. e.g. If the user switches to czech language, the prices are shown in czech crowns. In addition I will display the currency switcher module for languages that are not associated with only one currency (e.g. english).  Is there a possibility to &quot;link&quot; the language and the currency?  Thanx in advance")*

You could just do a redirect like that:
header('Location: '.$_SERVER);

but you need to do it only when the currency was not set previously. So like that: Code:

if(!$app-&gt;getUserState('com_hikashop.currency_id',0)){ if ($lang-&gt;get('tag') == "lt-LT" ) { $app-&gt;setUserState('com_hikashop.currency_id',XX); } elseif ($lang-&gt;get('tag') == "en-GB") { $app-&gt;setUserState('com_hikashop.currency_id',XX); } header('Location: '.$_SERVER['REQUEST_URI']); }

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

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

Less More

- Posts: 198
- Thank you received: 4
-
-

14 years 7 months ago [\#44413](#44413) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  Replied by *[arnask](/forum/user/6752-arnask "View arnask's Profile")* on topic *[Re: default currency depending on language](/forum/4-how-to/8776-default-currency-depending-on-language#44413 "Hi,  I am using Hikashop Essential so I have no option of using the geolocation plugin for this issue.  It would be very useful for me to change the displayed (default) currency according to the joomfish language the user switched to on my page. e.g. If the user switches to czech language, the prices are shown in czech crowns. In addition I will display the currency switcher module for languages that are not associated with only one currency (e.g. english).  Is there a possibility to &quot;link&quot; the language and the currency?  Thanx in advance")*

nicolas, that doesn't work

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg3NzYtZGVmYXVsdC1jdXJyZW5jeS1kZXBlbmRpbmctb24tbGFuZ3VhZ2U/c3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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: 86292
- Thank you received: 14271
-
-

14 years 7 months ago [\#44414](#44414) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: default currency depending on language](/forum/4-how-to/8776-default-currency-depending-on-language#44414 "Hi,  I am using Hikashop Essential so I have no option of using the geolocation plugin for this issue.  It would be very useful for me to change the displayed (default) currency according to the joomfish language the user switched to on my page. e.g. If the user switches to czech language, the prices are shown in czech crowns. In addition I will display the currency switcher module for languages that are not associated with only one currency (e.g. english).  Is there a possibility to &quot;link&quot; the language and the currency?  Thanx in advance")*

That was just a suggestion.
Why it doesn't ?

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

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

Less More

- Posts: 198
- Thank you received: 4
-
-

14 years 7 months ago [\#44422](#44422) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  Replied by *[arnask](/forum/user/6752-arnask "View arnask's Profile")* on topic *[Re: default currency depending on language](/forum/4-how-to/8776-default-currency-depending-on-language#44422 "Hi,  I am using Hikashop Essential so I have no option of using the geolocation plugin for this issue.  It would be very useful for me to change the displayed (default) currency according to the joomfish language the user switched to on my page. e.g. If the user switches to czech language, the prices are shown in czech crowns. In addition I will display the currency switcher module for languages that are not associated with only one currency (e.g. english).  Is there a possibility to &quot;link&quot; the language and the currency?  Thanx in advance")*

i don't know ![:)](/media/kunena/emoticons/8.png ":)") your code doesn't do anything even if i refresh manually. Just nothing happens, where my code changes currency, but user needs to refresh or browse to somewhere to see changes.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg3NzYtZGVmYXVsdC1jdXJyZW5jeS1kZXBlbmRpbmctb24tbGFuZ3VhZ2U/c3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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: 86292
- Thank you received: 14271
-
-

14 years 7 months ago [\#44428](#44428) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: default currency depending on language](/forum/4-how-to/8776-default-currency-depending-on-language#44428 "Hi,  I am using Hikashop Essential so I have no option of using the geolocation plugin for this issue.  It would be very useful for me to change the displayed (default) currency according to the joomfish language the user switched to on my page. e.g. If the user switches to czech language, the prices are shown in czech crowns. In addition I will display the currency switcher module for languages that are not associated with only one currency (e.g. english).  Is there a possibility to &quot;link&quot; the language and the currency?  Thanx in advance")*

Ah yes, my code only works when you're a new user coming to the website. It won't change anything if you change the language of the website.

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

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

Less More

- Posts: 198
- Thank you received: 4
-
-

14 years 7 months ago [\#44430](#44430) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  Replied by *[arnask](/forum/user/6752-arnask "View arnask's Profile")* on topic *[Re: default currency depending on language](/forum/4-how-to/8776-default-currency-depending-on-language#44430 "Hi,  I am using Hikashop Essential so I have no option of using the geolocation plugin for this issue.  It would be very useful for me to change the displayed (default) currency according to the joomfish language the user switched to on my page. e.g. If the user switches to czech language, the prices are shown in czech crowns. In addition I will display the currency switcher module for languages that are not associated with only one currency (e.g. english).  Is there a possibility to &quot;link&quot; the language and the currency?  Thanx in advance")*

any suggestions how to do that?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg3NzYtZGVmYXVsdC1jdXJyZW5jeS1kZXBlbmRpbmctb24tbGFuZ3VhZ2U/c3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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: 86292
- Thank you received: 14271
-
-

14 years 7 months ago [\#44431](#44431) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: default currency depending on language](/forum/4-how-to/8776-default-currency-depending-on-language#44431 "Hi,  I am using Hikashop Essential so I have no option of using the geolocation plugin for this issue.  It would be very useful for me to change the displayed (default) currency according to the joomfish language the user switched to on my page. e.g. If the user switches to czech language, the prices are shown in czech crowns. In addition I will display the currency switcher module for languages that are not associated with only one currency (e.g. english).  Is there a possibility to &quot;link&quot; the language and the currency?  Thanx in advance")*

I don't know.

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

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

Less More

- Posts: 4
- Thank you received: 0
-
-

14 years 2 months ago [\#62063](#62063) by [kastytisplan](/forum/user/7202-kastytisplan "View kastytisplan's Profile")  Replied by *[kastytisplan](/forum/user/7202-kastytisplan "View kastytisplan's Profile")* on topic *[Re: default currency depending on language](/forum/4-how-to/8776-default-currency-depending-on-language#62063 "Hi,  I am using Hikashop Essential so I have no option of using the geolocation plugin for this issue.  It would be very useful for me to change the displayed (default) currency according to the joomfish language the user switched to on my page. e.g. If the user switches to czech language, the prices are shown in czech crowns. In addition I will display the currency switcher module for languages that are not associated with only one currency (e.g. english).  Is there a possibility to &quot;link&quot; the language and the currency?  Thanx in advance")*

Where is the file mod_falang.php located? I can't find it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg3NzYtZGVmYXVsdC1jdXJyZW5jeS1kZXBlbmRpbmctb24tbGFuZ3VhZ2U/c3RhcnQ9MCZ0bXBsPW1hcmtkb3du) 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.523 seconds

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

[](#top)
