Produit
Boutique de démonstration
Démonstration
Caractéristiques
Pour les développeurs
Pour les propriétaires de magasins
Industries
Mode
Santé & Beauté
Nourriture & boissons
Automobile
Industriel & Scientifique
Meubles
Commerce électronique B2B
International
Téléchargements
Télécharger nopCommerce
Marketplace
Traductions
Clé de suppression des droits d'auteur
Application Mobile
Web API
Support & Services
Formation
Documentation
Forums communautaires
Services d'assistance premium
Demander un devis
Contactez-nous
Partenaires
Français
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
Commencer
Shopping cart
Mon compte
Connexion
S'enregistrer
Accueil
>
Forums
>
General
>
nopCommerce Upgrades
>
[4.1] store does not contain a GetLocalized definition
[4.1] store does not contain a GetLocalized definition
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
freedomx
Nombre de messages:
120
Karma:
620
Inscrit:
11/03/2013
Localisation:
Italy
Posté:
Il y a 5 ans
Hi everyone,
I'm trying to install this theme (PowerShop).
I get an error indicating that:
store does not contain a GetLocalized definition
.
var storeName = storeContext.CurrentStore.GetLocalized (x => x.Name);
How can I solve? I use version 4.1.
Thanks in advance
Nop-Templates.com
MVP
Partenaire Silver Solution
Développeur certifié
Nombre de messages:
2639
Karma:
42712
Inscrit:
21/01/2010
Localisation:
United States
Posté:
Il y a 5 ans
freedomx wrote:
Hi everyone,
I'm trying to install this theme (PowerShop).
I get an error indicating that:
store does not contain a GetLocalized definition
.
var storeName = storeContext.CurrentStore.GetLocalized (x => x.Name);
How can I solve? I use version 4.1.
Thanks in advance
Hi,
In 4.1 you need to use the ILocalization service e.g.
_localizationService.GetLocalized(storeContext.CurrentStore, x => x.Name);
Regards,
Hristian
freedomx
Nombre de messages:
120
Karma:
620
Inscrit:
11/03/2013
Localisation:
Italy
Posté:
Il y a 5 ans
Hello Hristian and thanks for the reply!
I tried to change how you tell me, but now the mistake is: "NopRazorPage<dynamic>._localizationServices it is not accessible due to the level of protection".
freedomx
Nombre de messages:
120
Karma:
620
Inscrit:
11/03/2013
Localisation:
Italy
Posté:
Il y a 5 ans
However, with this layout the system crashes: "System.Data.SqlClient.SqlException (0x80131904)".
Eliminating the PhowerShop folder the system resumes regularly.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Vous avez encore des questions ou avez besoin d'aide?
.
Services d'assistance premium
.
Bénéficiez d'un support dédié de la part de l'équipe nopCommerce avec une réponse garantie dans les 24 heures.
.
Cours en ligne pour les développeurs
.
Obtenez les compétences pratiques et techniques dont vous avez besoin pour gérer et personnaliser les sites Web nopCommerce.