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

#   Bluepaid - La boutique ne permet pas d'afficher la langue demande.

##

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

Less More

- Posts: 43
- Thank you received: 4
-
-

7 years 2 months ago -  7 years 2 months ago [\#310617](#310617) by [sompi](/forum/user/46386-sompi "View sompi's Profile")  *[Bluepaid - La boutique ne permet pas d'afficher la langue demande.](/forum/29-payment-methods/898237-bluepaid-la-boutique-ne-permet-pas-dafficher-la-langue-demande#310617 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.2 -- PHP version -- : 7.2 -- Browser(s) name and version -- : Firefox  Bonjour,  Nous avons configuré notre paiement bluepaid dans Hikashop. Lorsqu'on va pour payer, nous arrivons sur le site blue paid affichant le message suivant &quot;La boutique ne permet pas d'afficher la langue demande.&quot;  Dans /www/plugins/hikashoppayment/bluepaid/bluepaid.php ligne 30 on a ça  Si je remplace par ça marche. Mais on va éviter de toucher bluepaid.php.  A quoi correspond $this-&gt;local et comment corriger dans Joomla ?")* was created by *[sompi](/forum/user/46386-sompi "View sompi's Profile")*

-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.2
-- PHP version -- : 7.2
-- Browser(s) name and version -- : Firefox

Bonjour,

Nous avons configuré notre paiement bluepaid dans Hikashop.
Lorsqu'on va pour payer, nous arrivons sur le site blue paid affichant le message suivant
"La boutique ne permet pas d'afficher la langue demande."

Dans /www/plugins/hikashoppayment/bluepaid/bluepaid.php ligne 30 on a ça Code:

$vars["langue"] = strtoupper($this-&gt;locale); if(!in_array($this-&gt;locale,array('EN', 'DE', 'ES', 'FR', 'IT', 'NL', 'PT'))) $vars["langue"] = 'EN';

Si je remplace Code:

$vars["langue"] = 'EN';

par Code:

$vars["langue"] = 'FR';

ça marche.
Mais on va éviter de toucher bluepaid.php.

A quoi correspond $this-&gt;local et comment corriger dans Joomla ?

Last edit: 7 years 2 months ago by [sompi](/forum/user/46386-sompi "View sompi's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTgyMzctYmx1ZXBhaWQtbGEtYm91dGlxdWUtbmUtcGVybWV0LXBhcy1kYWZmaWNoZXItbGEtbGFuZ3VlLWRlbWFuZGU/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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

7 years 2 months ago [\#310619](#310619) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Bluepaid - La boutique ne permet pas d'afficher la langue demande.](/forum/29-payment-methods/898237-bluepaid-la-boutique-ne-permet-pas-dafficher-la-langue-demande#310619 "-- HikaShop version -- : 4.2.1 -- Joomla version -- : 3.9.2 -- PHP version -- : 7.2 -- Browser(s) name and version -- : Firefox  Bonjour,  Nous avons configuré notre paiement bluepaid dans Hikashop. Lorsqu'on va pour payer, nous arrivons sur le site blue paid affichant le message suivant &quot;La boutique ne permet pas d'afficher la langue demande.&quot;  Dans /www/plugins/hikashoppayment/bluepaid/bluepaid.php ligne 30 on a ça  Si je remplace par ça marche. Mais on va éviter de toucher bluepaid.php.  A quoi correspond $this-&gt;local et comment corriger dans Joomla ?")*

Bonjour,

$this-&gt;locale c'est la langue courante, d'après Joomla.

Ce code là permet de passer en anglais pour toutes les langues non supportées par bluepaid.
Avec votre modification, cela passe en français pour toutes les langues non supportées par bluepaid.
Donc je ne vois pas pourquoi vous auriez cette erreur, à moins que bluepaid ait maintenant une option pour n'autoriser que certaines langues dans les options de votre compte marchand ?

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

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