Alia Posted May 21, 2019 Share Posted May 21, 2019 (edited) Bonjour, Dans ma page magasins/stores, le pays dans l'adresse de chaque magasin apparait systématiquement en français même dans la page en anglais. Il en est de même dans la page Contact : "Suisse" ou lieu de "Switzerland" dans la page en anglais. Quelqu'un a déjà eu ce problème ? Est-ce un bug Prestashop (versions 1.7.4.2) ou un bug de mon thème (un thème Leo (Leotime)) ? Toute solution ou idée est bienvenue. Edited May 27, 2019 by Alia (see edit history) Link to comment Share on other sites More sharing options...
Mediacom87 Posted May 21, 2019 Share Posted May 21, 2019 Bonjour, je viens de tester sur une 1.7.5.2 et cela semble bon donc je ne sais pas si cela vient de votre version ou du template Link to comment Share on other sites More sharing options...
Alia Posted May 21, 2019 Author Share Posted May 21, 2019 Merci Mediacom87. Link to comment Share on other sites More sharing options...
Alia Posted May 24, 2019 Author Share Posted May 24, 2019 (edited) Cela vient de la version 1.7.4.2. J'ai installé Prestashop 1.7.4.2 sans mon template, sans rien ajouter sinon l'anglais, et dans les pages "Stores" et "Contact us" en anglais, le pays est en français. La question maintenant : comment résoudre ce bug ? Edited May 24, 2019 by Alia (see edit history) Link to comment Share on other sites More sharing options...
Mediacom87 Posted May 24, 2019 Share Posted May 24, 2019 Passer sur la dernière version 1.7 disponible et toujours faire toutes les mises à jour en 1.7 car c'est une version en développement. Link to comment Share on other sites More sharing options...
Alia Posted May 25, 2019 Author Share Posted May 25, 2019 J'ai installé la version 1.7.5.2. Et j'ai le même problème ! 😵Les pays apparaissent toujours en français dans la page Magasins en anglais. Donc ce serait plutôt un paramètre que je n'aurais pas mis à la bonne valeur ? Sur cette version 1.7.5.2 que j'ai installé en français, j'ai juste été dans International -> Localisation, onglet Localisation, paragraphe "Import de pack de localisation" et j'ai importé le pack "United States". Rien de plus. Link to comment Share on other sites More sharing options...
Mediacom87 Posted May 25, 2019 Share Posted May 25, 2019 Bonjour, allez directement sur les pays et regardez l'information enregistré en pour les autres langues. Link to comment Share on other sites More sharing options...
Alia Posted May 27, 2019 Author Share Posted May 27, 2019 Merci Mediacom87 pour ton soutien. J'ai trouvé l'origine du bug : les pays dans la base de données sont en français et non en anglais. Pourtant en ajoutant l'allemand ou l'italien, les pays sont correctement traduits. Cela ne concerne que l'anglais. Le problème concerne la table ps_country_lang dans la base de donnée. Il suffit d'exécuter la requête SQL ci-dessous pour corriger. Pour ceux qui auront le même problème : le 2 de la colonne id_lang est à remplacer par votre id_lang correspondant à l'anglais ; ça peut être 3 par exemple. Remplacer alors tous les : , 2, par : , 3, ainsi que le 2 de la 1ère ligne. delete from `ps_country_lang` where `id_lang`= 2 INSERT INTO `ps_country_lang` (`id_country`, `id_lang`, `name`) VALUES (1, 2, 'Germany'), (2, 2, 'Austria'), (3, 2, 'Belgium'), (4, 2, 'Canada'), (5, 2, 'China'), (6, 2, 'Spain'), (7, 2, 'Finland'), (8, 2, 'France'), (9, 2, 'Greece'), (10, 2, 'Italy'), (11, 2, 'Japan'), (12, 2, 'Luxemburg'), (13, 2, 'Netherlands'), (14, 2, 'Poland'), (15, 2, 'Portugal'), (16, 2, 'Czech Republic'), (17, 2, 'United Kingdom'), (18, 2, 'Sweden'), (19, 2, 'Switzerland'), (20, 2, 'Denmark'), (21, 2, 'United States'), (22, 2, 'HongKong'), (23, 2, 'Norway'), (24, 2, 'Australia'), (25, 2, 'Singapore'), (26, 2, 'Ireland'), (27, 2, 'New Zealand'), (28, 2, 'South Korea'), (29, 2, 'Israel'), (30, 2, 'South Africa'), (31, 2, 'Nigeria'), (32, 2, 'Ivory Coast'), (33, 2, 'Togo'), (34, 2, 'Bolivia'), (35, 2, 'Mauritius'), (36, 2, 'Romania'), (37, 2, 'Slovakia'), (38, 2, 'Algeria'), (39, 2, 'American Samoa'), (40, 2, 'Andorra'), (41, 2, 'Angola'), (42, 2, 'Anguilla'), (43, 2, 'Antigua and Barbuda'), (44, 2, 'Argentina'), (45, 2, 'Armenia'), (46, 2, 'Aruba'), (47, 2, 'Azerbaijan'), (48, 2, 'Bahamas'), (49, 2, 'Bahrain'), (50, 2, 'Bangladesh'), (51, 2, 'Barbados'), (52, 2, 'Belarus'), (53, 2, 'Belize'), (54, 2, 'Benin'), (55, 2, 'Bermuda'), (56, 2, 'Bhutan'), (57, 2, 'Botswana'), (58, 2, 'Brazil'), (59, 2, 'Brunei'), (60, 2, 'Burkina Faso'), (61, 2, 'Burma (Myanmar)'), (62, 2, 'Burundi'), (63, 2, 'Cambodia'), (64, 2, 'Cameroon'), (65, 2, 'Cape Verde'), (66, 2, 'Central African Republic'), (67, 2, 'Chad'), (68, 2, 'Chile'), (69, 2, 'Colombia'), (70, 2, 'Comoros'), (71, 2, 'Congo, Dem. Republic'), (72, 2, 'Congo, Republic'), (73, 2, 'Costa Rica'), (74, 2, 'Croatia'), (75, 2, 'Cuba'), (76, 2, 'Cyprus'), (77, 2, 'Djibouti'), (78, 2, 'Dominica'), (79, 2, 'Dominican Republic'), (80, 2, 'East Timor'), (81, 2, 'Ecuador'), (82, 2, 'Egypt'), (83, 2, 'El Salvador'), (84, 2, 'Equatorial Guinea'), (85, 2, 'Eritrea'), (86, 2, 'Estonia'), (87, 2, 'Ethiopia'), (88, 2, 'Falkland Islands'), (89, 2, 'Faroe Islands'), (90, 2, 'Fiji'), (91, 2, 'Gabon'), (92, 2, 'Gambia'), (93, 2, 'Georgia'), (94, 2, 'Ghana'), (95, 2, 'Grenada'), (96, 2, 'Greenland'), (97, 2, 'Gibraltar'), (98, 2, 'Guadeloupe'), (99, 2, 'Guam'), (100, 2, 'Guatemala'), (101, 2, 'Guernsey'), (102, 2, 'Guinea'), (103, 2, 'Guinea-Bissau'), (104, 2, 'Guyana'), (105, 2, 'Haiti'), (106, 2, 'Heard Island and McDonald Islands'), (107, 2, 'Vatican City State'), (108, 2, 'Honduras'), (109, 2, 'Iceland'), (110, 2, 'India'), (111, 2, 'Indonesia'), (112, 2, 'Iran'), (113, 2, 'Iraq'), (114, 2, 'Man Island'), (115, 2, 'Jamaica'), (116, 2, 'Jersey'), (117, 2, 'Jordan'), (118, 2, 'Kazakhstan'), (119, 2, 'Kenya'), (120, 2, 'Kiribati'), (121, 2, 'Korea, Dem. Republic of'), (122, 2, 'Kuwait'), (123, 2, 'Kyrgyzstan'), (124, 2, 'Laos'), (125, 2, 'Latvia'), (126, 2, 'Lebanon'), (127, 2, 'Lesotho'), (128, 2, 'Liberia'), (129, 2, 'Libya'), (130, 2, 'Liechtenstein'), (131, 2, 'Lithuania'), (132, 2, 'Macau'), (133, 2, 'Macedonia'), (134, 2, 'Madagascar'), (135, 2, 'Malawi'), (136, 2, 'Malaysia'), (137, 2, 'Maldives'), (138, 2, 'Mali'), (139, 2, 'Malta'), (140, 2, 'Marshall Islands'), (141, 2, 'Martinique'), (142, 2, 'Mauritania'), (143, 2, 'Hungary'), (144, 2, 'Mayotte'), (145, 2, 'Mexico'), (146, 2, 'Micronesia'), (147, 2, 'Moldova'), (148, 2, 'Monaco'), (149, 2, 'Mongolia'), (150, 2, 'Montenegro'), (151, 2, 'Montserrat'), (152, 2, 'Morocco'), (153, 2, 'Mozambique'), (154, 2, 'Namibia'), (155, 2, 'Nauru'), (156, 2, 'Nepal'), (157, 2, 'Netherlands Antilles'), (158, 2, 'New Caledonia'), (159, 2, 'Nicaragua'), (160, 2, 'Niger'), (161, 2, 'Niue'), (162, 2, 'Norfolk Island'), (163, 2, 'Northern Mariana Islands'), (164, 2, 'Oman'), (165, 2, 'Pakistan'), (166, 2, 'Palau'), (167, 2, 'Palestinian Territories'), (168, 2, 'Panama'), (169, 2, 'Papua New Guinea'), (170, 2, 'Paraguay'), (171, 2, 'Peru'), (172, 2, 'Philippines'), (173, 2, 'Pitcairn'), (174, 2, 'Puerto Rico'), (175, 2, 'Qatar'), (176, 2, 'Reunion Island'), (177, 2, 'Russian Federation'), (178, 2, 'Rwanda'), (179, 2, 'Saint Barthelemy'), (180, 2, 'Saint Kitts and Nevis'), (181, 2, 'Saint Lucia'), (182, 2, 'Saint Martin'), (183, 2, 'Saint Pierre and Miquelon'), (184, 2, 'Saint Vincent and the Grenadines'), (185, 2, 'Samoa'), (186, 2, 'San Marino'), (187, 2, 'São Tomé and Príncipe'), (188, 2, 'Saudi Arabia'), (189, 2, 'Senegal'), (190, 2, 'Serbia'), (191, 2, 'Seychelles'), (192, 2, 'Sierra Leone'), (193, 2, 'Slovenia'), (194, 2, 'Solomon Islands'), (195, 2, 'Somalia'), (196, 2, 'South Georgia and the South Sandwich Islands'), (197, 2, 'Sri Lanka'), (198, 2, 'Sudan'), (199, 2, 'Suriname'), (200, 2, 'Svalbard and Jan Mayen'), (201, 2, 'Swaziland'), (202, 2, 'Syria'), (203, 2, 'Taiwan'), (204, 2, 'Tajikistan'), (205, 2, 'Tanzania'), (206, 2, 'Thailand'), (207, 2, 'Tokelau'), (208, 2, 'Tonga'), (209, 2, 'Trinidad and Tobago'), (210, 2, 'Tunisia'), (211, 2, 'Turkey'), (212, 2, 'Turkmenistan'), (213, 2, 'Turks and Caicos Islands'), (214, 2, 'Tuvalu'), (215, 2, 'Uganda'), (216, 2, 'Ukraine'), (217, 2, 'United Arab Emirates'), (218, 2, 'Uruguay'), (219, 2, 'Uzbekistan'), (220, 2, 'Vanuatu'), (221, 2, 'Venezuela'), (222, 2, 'Vietnam'), (223, 2, 'Virgin Islands (British)'), (224, 2, 'Virgin Islands (U.S.)'), (225, 2, 'Wallis and Futuna'), (226, 2, 'Western Sahara'), (227, 2, 'Yemen'), (228, 2, 'Zambia'), (229, 2, 'Zimbabwe'), (230, 2, 'Albania'), (231, 2, 'Afghanistan'), (232, 2, 'Antarctica'), (233, 2, 'Bosnia and Herzegovina'), (234, 2, 'Bouvet Island'), (235, 2, 'British Indian Ocean Territory'), (236, 2, 'Bulgaria'), (237, 2, 'Cayman Islands'), (238, 2, 'Christmas Island'), (239, 2, 'Cocos (Keeling) Islands'), (240, 2, 'Cook Islands'), (241, 2, 'French Guiana'), (242, 2, 'French Polynesia'), (243, 2, 'French Southern Territories'), (244, 2, 'Åland Islands'); 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now