Jump to content

Search the Community

Showing results for tags 'Lang'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Help and Support
    • PrestaShop Download
    • PrestaShop Marketplace
  • News and Announcements
    • PrestaShop news and releases
    • PrestaShop Beta
    • PrestaShop Blogs
    • PrestaShop Meetups
  • International community (English)
    • General topics
    • PrestaShop Merchants
    • PrestaShop Developers
    • Taxes, Translations & Laws
    • Community Modules and Themes
  • Forum francophone
    • Discussion générale
    • Aide et support communautaire
    • PrestaShop pour les marchands
    • PrestaShop pour les développeurs
    • Adaptation aux lois Québécoises
    • Modules et thèmes gratuits
    • Modules et thèmes payants
  • Foro en Español
    • Discusión general
    • Soporte de la comunidad y ayuda
    • Comerciantes PrestaShop
    • Desarrolladores PrestaShop
    • Módulos y plantillas gratuitas
  • Forum italiano
    • Forum generale
    • Aiuto e supporto della Community
    • Commercianti PrestaShop
    • Sviluppatori PrestaShop
    • Aspetti legali sull'eCommerce
    • Moduli e template gratuiti
  • Deutsches Forum
    • Generelle Fragen
    • Support und Hilfe aus der Community
    • e-Commerce/Versand-Handel mit Prestashop
    • Prestashop-Entwickler
    • Anpassung an deutsches Recht
    • Kostenlose Module und Templates
    • Generelle Fragen Copy
  • Nederlandstalig forum
    • Algemeen
    • Hulp en ondersteuning, van en voor de community
    • PrestaShop-winkeliers
    • PrestaShop-ontwikkelaars
    • Het aanpassen van PrestaShop
    • Gratis modules en templates
  • Fórum em Português
    • Fórum Geral
    • Ajuda e Suporte da Comunidade
    • Lojistas que utilizam o PrestaShop
    • Desenvolvedores PrestaShop
    • Legislação específica
    • Módulos e temas gratuitos
  • Polskie forum
    • Forum ogólne
    • Wsparcie i pomoc użytkowników
    • Oferty twórców PrestaShop
    • Deweloperzy PrestaShop
    • Darmowe Moduły i Szablony
  • Dansk forum
    • Generelt forum
    • Hjælp og support fra fællesskabet
    • PrestaShop for købmænd
    • PrestaShop for udviklere
    • Love og regler
    • Gratis moduler og temaer
  • České fórum
    • Instalasi, Konfigurasi dan upgrade
    • Obecná diskuze
    • Bezplatné moduly a šablony
    • PrestaShop vývojáři
    • PrestaShop obchodníci
  • Bahasa Indonesia
    • Diskusi Umum
    • Podpora a pomoc komunity
    • Laporan Bug
    • Jasa, Promosi & Lowongan Kerja
  • Svenskt forum
    • Allmän diskussion
    • Installation, konfigurering och uppdatering
  • Forumul românesc
    • Discuţii generale
    • Instalare, configurare şi upgrade
  • Pусский язык
    • Обсуждение скрипта
    • Установка, Настройка, Обновление
    • Прием багов
  • Slovenské fórum
    • Všeobecná diskusia
    • Podpora a pomoc komunity
    • PrestaShop obchodníci
    • PrestaShop vývojári
    • Bezplatné moduly a šablóny
  • Türkçe Topluluğu
    • Genel Konular
    • Topluluk desteği ve yardım
    • PrestaShop Tüccarları
    • Prestashop Geliştiricileri
    • Ücretsiz Modül ve Temalar
  • Diễn đàn tiếng Việt
    • Thảo luận chung
    • Hỗ trợ từ cộng đồng
    • Dành cho chủ doanh nghiệp / cửa hàng
    • Dành cho lập trình viên
  • PrestaShop Communities
    • اللغه العربيه [Arabic]
    • Ελληνικά [Greek]
    • עִבְרִית [Hebrew]
    • 中文
    • Magyar [Hungarian]
    • 日本語 [Japanese]
    • Lietuviškai [Lithuanian]
    • انجمن فارسی [Persian]
    • ไทย [Thai]
    • Malaysia [Malaysian]
    • Eesti [Estonian]
    • Slovenščina [Slovenian]
    • Српски [Serbian]
  • IP. Board Forum
    • IP. Board Forum Questions and Issues
  • Archive
    • Zapłać Moduły i Szablony [ARCHIVE]
    • Moduly, upravy a dizajn [ARCHIVE]
    • Phát triển và các mô-đun [ARCHIVE]
    • Yazılım, Modül ve Tema [ARCHIVE]
    • Модули, Шаблоны [ARCHIVE]
    • Module şi teme [ARCHIVE]
    • Pengembangan dan Modul [ARCHIVE]
    • Moduler och teman [ARCHIVE]
    • Ecommerce x PrestaShop [ARCHIVE BOARD]
    • Vývoj a moduly [ARCHIVE]
    • Kostenpflichtige Module, Templates [ARCHIVE]
    • Módulos y temas pagos [ARCHIVE]
    • Módulos e temas pagos [ARCHIVE]
    • Servizi commerciali [ARCHIVE]
    • Forum - Feedback Contributor
    • PrestaShop Cloud

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 22 results

  1. Hi, I'm sorry if there is a problem but to make this query I will use the google translator quickly. I want to update the name of a field with a module. To be more specific: Chile is divided by Regions and communes, not by states and I want that when installing a module, it updates the label field of the state field so that it says commune. What would you recommend? or What could be the solution? Greetings and I will be attentive to what they say
  2. Hi, everyone. I really need help with setting up languages on the site. It is necessary that the admin panel of the website is in English. And the frontend of the website was in Norwegian. I installed two languages (the admin panel is now in the language I need), but the external part of the website automatically becomes multilingual. A language switch appears on the site, all products, etc., can now be filled in two languages. Is there any way to avoid this? I just need the admin panel to be in English (it’s more convenient not to work with it), and for clients the website should be in Norwegian, without multilingualism. Thanks in advance for your help)
  3. Hello, i have a problem occuring every time i'm trying to install prestashop (1.7.4.2), no matter what language i choose, there is an error saying: Already tried with English nad Polish, same result.
  4. Is there any easy way to select & then remove all unused languages files (in core and modules) which make transfer time much longer everytime you need to FTP up & down because of the size of packages? Thanks
  5. Hi PS Community, I'm working on a "quite complex" projet, and i'm struggling with multilingual navigation. My question is about updating Cookie Language. Here is my Prestashop 1.6.1 featuring a Wordpress area : https://www.gaston-mercier.com/pages/ (WP home FR) Multilingual nav (top right) is ok for posts, taxnomys, but i'm still in hard time for Homepage of Wordpress. Yes, i do know this is a Prestashop forum ! Here is my WP home EN : https://www.gaston-mercier.com/en/pages/ Here are some lines i already use : // catching WP lang : iso code // translating to PS wording : INT $current_lang_id // getting context $context = Context::getContext(); // assign ID value to id_lang $context->smarty->assign(array('id_lang' => $current_lang_id)); // other way to assign value $context->cookie->id_lang = $current_lang_id; WP multilingual system created WP home EN at https://www.gaston-mercier.com/pages/?lang=en so I created a redirection in PS from https://www.gaston-mercier.com/en/pages/ to https://www.gaston-mercier.com/pages/?lang=en . I thought going with /en/ may updates the PS language cookie. Sometimes it works (all content in EN), and sometimes it doesn't (content in FR). I don't understand how / why. If i go to PS home, then turn to EN, i can navigate through entire website in EN, including WP, and getting back to FR from everywhere. But switching language at this WP homepage is so cryptic ! Can anybody help ? Thanks ! :-)
  6. Witam, Posiadam sklep wielojęzyczny na prestashop 1.7 Posiadam włączony moduł do zmiany języka na pasku na górze jednak chciałbym aby był bardziej widoczny też w treści strony. próbuje stworzyć link do zmiany języka w treści, czyli na stronie produktu nad opisami. Po edycji treści pliku product.tpl dodałem za linijką <div class="tab-content" id="tab-content"> taki kod: <div class="jezyki"> {l s=' Select language:'} <a class="flaga" href="https://strona.pl/pl/"> <img src="https://strona.pl/img/l/1.jpg" alt="pl" width="16" height="11"> </a> <a class="flaga" href="https://strona.pl/fr/"> <img src="https://strona.pl/img/l/2.jpg" alt="fr" width="16" height="11"> </a> <a class="flaga" href="https://strona.pl/gb/"> <img src="https://strona.pl/img/l/3.jpg" alt="gb" width="16" height="11"> </a> <a class="flaga" href="https://strona.pl/de/"> <img src="https://strona.pl/img/l/4.jpg" alt="de" width="16" height="11"> </a> </div> działa ale nie tak jak bym chciał, bo przekierowuje na stronę główną. Jak stworzyć link, który zmieni język ale pozostanie na ten samej stronie produktu?
  7. Hallo Gemeinde, mir ist aufgefallen dass wenn man etwas per Vorkasse bei uns im Shop bestellt, die Seite die nach dem Klick auf JETZT KAUFEN kommen sollte brauch ewig lange zu laden, also die Seite wo die Bankdaten angezeigt werden. Wenn man jetzt zum Beispiel zu ungeduldig ist und nochmal auf JETZT KAUFEN klickt bekommt man logischerweise eine Fehlermeldung. Das Problem tritt nur bei der Bezahlmethode Vorkasse/Banküberweisung auf. Woran könnte das liegen und wie kann ich dort die Ladezeiten verkürzen? Gerne könnt ihr auch das mal angucken, unter: www.fashionresidenz.de Liebe Grüße Lucas
  8. Bonjour à tous ! Je bosse sur un module, et je bloque sur l'ajout d'un champ langue. En fait j'avais créé un modèle, dont je créée et édite les objets grâce aux helpers (donc comportement automatique). Mais j'ai voulu passer certains champs texte en multilingue, et ils ne sont pas enregistrés en BDD. J'ai bien les tables "ps_objet" et "ps_objet_lang". Lors de l'enregistrement d'un objet, la table langue est bien alimentée pour les champ "id_lang" et "id_objet", mais les champ multilingue eux-même restent vides. Si je met ces champs en required, prestashop me renvoie une erreur disant que le champ est vide, et effectivement si je fais des print_r dans objectModel, je me rend compte que les valeurs de mes champs ne sont pas transmises... HELP ! merci
  9. Prestashop 1.6.0.8 Hi How do I set the PS_LANG_DEFAULT value in code? Reason is that I am running a modified version of the AdminImportController.php script on the command line. This worked ok in version 1.5 but in 1.6 there seems to be a problem. I have six languages. Whatever language is passed on the command line then updates all other languages for the same product. For example if I want to load only English for Product A, then the description and short description for all languages are updated to English. Any help greatly appreciated. Thanks.
  10. The problem with multilingual sites is often duplicate content. I have found a topic on Google Webmasters: http://support.googl...n&answer=189077 So on my Prestashop it should for example look like this in the header section: <link rel="alternate" hreflang="es" href="http://dagnez.com/es" /> <link rel="alternate" hreflang="en" href="http://dagnez.com/en" /> <link rel="alternate" hreflang="de" href="http://dagnez.com/de" /> - but how to make it automatic, to get right URLs in other languages of the same product/category?
  11. Hello, The English language in Prestashop have an international abbreviation EN, Russian - RU, France - FR etc. So every language had an own personal code. I want to insert this language code into my template URLs. We write: http://mysite.com/shop/themes/mytheme/{CURRENT-LANUGAGE-CODE}/img.png ...and get link looks like http://mysite.com/shop/themes/mytheme/en/img.png ...if customers current language is English. If user switch site language to Russian, links become looks like http://mysite.com/shop/themes/mytheme/ru/img.png Now I use code {l s='en'} and translate it to get another language, but it's isn't good solution. What code I must to insert to get current language abbreviation?
  12. Hi, I've upgraded from 1.5.2 to 1.5.3.1 and one of my modules gives me an error like Warning: preg_match() expects parameter 2 to be string, array given in Validate.php on line 383 Fatal error: Uncaught exception 'PrestaShopException' with message 'Property [CLASSNAME]->title is not valid' in ObjectModel.php:837 Stack trace: #0 [(44): ObjectModelCore->validateFields() #1 ObjectModel.php(598): [CLASSNAME]->getFields() #2 [CLASSNAME](84): ObjectModelCore->update() #3 [CLASSNAME](483): [CLASSNAME]->update() #4 [ADMINFOLDER]/functions.php(528): [CLASSNAME]->postProcess() #5 /classes/Dispatcher.php(328): runAdminTab('[CLASSNAME]...', false) #6 [ADMINFOLDER]/index.php(51): DispatcherCore->dispatch() #7 {main} thrown in classes/ObjectModel.php on line 837 Found out that the "problem" is due to one part of the ObjectModel.php class which is '// Retrocompatibility with $fieldsValidate,....': Prestashop 1.5.2 else { $this->def['fields'] = array(); $suffix = (isset($data['lang']) && $data['lang']) ? 'Lang' : ''; foreach ($this->{'fieldsValidate'.$suffix} as $field => $validate) $this->def['fields'][$field]['validate'] = $validate; foreach ($this->{'fieldsRequired'.$suffix} as $field) $this->def['fields'][$field]['required'] = true; foreach ($this->{'fieldsSize'.$suffix} as $field => $size) $this->def['fields'][$field]['size'] = $size; } And Prestashop 1.5.3.1 else { $this->def['fields'] = array(); $suffixs = array('', 'Lang'); foreach($suffixs as $suffix) { foreach ($this->{'fieldsValidate'.$suffix} as $field => $validate) $this->def['fields'][$field]['validate'] = $validate; foreach ($this->{'fieldsRequired'.$suffix} as $field) $this->def['fields'][$field]['required'] = true; foreach ($this->{'fieldsSize'.$suffix} as $field => $size) $this->def['fields'][$field]['size'] = $size; } } If i remove Lang from $suffixs = array('', 'Lang'); so it looks like $suffixs = array('', ''); the error is gone and everything works fine. I'd like to understand where my mistake is... Maybe the 'Lang' validation changed in 1.5.3.1? Thank's
  13. I try to build a prestashop in my qnap TS-112 and 2 hosts in different space. qnap TS-112 with Qpkg 1.5.4.1 2 hosts with 1.5.5.0 (download from prestashop) I can install easily. Then I try to setup my shop. Here are 3 problems. 1. It's chinese with other language. And I don't know how to fix it or translation by myself. 2. I try to upload a payment and it's success. Then I can't find it in Payments and Gateway. Actually, I can't find it in module. But I can upload language pack. 3. in Preferences SEO & URLs Set up URLs I create a .htaccess file. (empty) then Internal Server ErrorI tried CHMOD 666 & 777. Still Internal server error. I worked 3 days still progress 0%. I had use ECSHOP, Shopex and some other shop system, enen mall system. But no one is so hard to setup. Any one can help me?
  14. Prestashop does not allow to define the lang of an attachment. Does anyone knows how to do this? I am working on a 1.4.9 project, and the site has 5 different languages. Some product have a PDF file with instructions. This file is attached to the product, but has to be available to download in the clients active language. When attaching a file to a product, one can define the title and description in the various langs, but not the file itself. If I have a PDF in french and another in english, both files are shown in the product page. This is no good. I made some changes in the database and core files, and succeed to accomplish this, but I wish it would not be necessary to do so. If anyone knows how, please share. What I did: - On the database, table ps_attachment, added a new field (`doc_lang` int(10) default '0') - On file admin/tabs/AdminProducts.php (admin folder might have another name) find function displayFormAttachments($obj, $languages, $defaultLanguage) added around line 2049: echo ' <label>'.$this->l('Document language:').' </label> <div class="margin-form">'; $languages = Language::getLanguages(false); echo ' <select name="doc_lang">'; foreach ($languages as $language) { echo '<option value="'.$language['id_lang'].'">'.$language['name'].'</option>'; } echo ' </select>'; echo ' </div>'; Note: be careful with right formating of divs - On file admin/tabs/AdminAttachments.php find public function displayForm($isMainTab = true) added around line 124: echo ' <label>'.$this->l('Document language:').' </label> <div class="margin-form">'; $languages = Language::getLanguages(false); echo ' <select name="doc_lang">'; foreach ($languages as $language) { echo '<option value="'.$language['id_lang'].'">'.$language['name'].'</option>'; } echo ' </select>'; echo ' </div>'; These two are to define the language of attachement on Administration Product record Now to display on the site only the attachement of the right language: On file classes/Product.php On public static function getAttachmentsStatic($id_lang, $id_product) (around line 2783) Replace return Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' SELECT * FROM '._DB_PREFIX_.'product_attachment pa LEFT JOIN '._DB_PREFIX_.'attachment a ON a.id_attachment = pa.id_attachment LEFT JOIN '._DB_PREFIX_.'attachment_lang al ON (a.id_attachment = al.id_attachment AND al.id_lang = '.(int)($id_lang).') By return Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS(' SELECT * FROM '._DB_PREFIX_.'product_attachment pa INNER JOIN '._DB_PREFIX_.'attachment a ON (a.id_attachment = pa.id_attachment AND a.doc_lang = '.(int)($id_lang).') LEFT JOIN '._DB_PREFIX_.'attachment_lang al ON (a.id_attachment = al.id_attachment AND al.id_lang = '.(int)($id_lang).') WHERE pa.id_product = '.(int)($id_product)); This will make sure that only the active lang attachement is displayed If anyone knows a better solution, without touching the core files, please let me know. Thank you Nelson / Contacto Visual
  15. Successfully upgraded to PS 1.5.2.0 from 1.5.1.0 using 1-click upgrade module on my live site. However, when I downloaded the whole site folder to my local computer and imported the new DB from my live site to my localhost mysql, I am having issue with broken link when I typed in: localhost/mystore/ That link dynamically change to myurl/mylivestore/en/page-not-found. I then edited my localhost DB and changed the variables domain and domain_ssl in table ps_shop_url. And it is now linking me to localhost/mystore/en/ but giving me 404 error page-not-found. What am I doing wrong? Is there something I still need to change to get my localhost site working again? Thank you for your generous help!
  16. i have looked but cannot find the English lang in the prestashop_1.4.8.3, i am creating a new shop from scratch but want English not american/USA and my default lang where is it? all the best
  17. Buenas, Tengo instalado prestashop en el servidor y la tienda está funcionando bien, pero de un tiempo a esta parte me está dando un error al querer añadir idiomas o intentando subir ficheros a ciertas carpetas por FTP... no sé si es por los permisos o porqué puede ser ... pero no consigo solucionarlo. Si intento añadir un nuevo idioma, en el backoffice me da error, intento importar el xxx.gzip y me salta el mensaje "el archivo no puede extraerse" ... si lo intento subir a la carpeta LANG me dice desde el FTP que no tengo los permisos para cambiar las propiedades de los archivos !!! (cuando siempre lo he hecho desde FTP filezilla y soy el administrador !!!!! ) ... lo he intentado desde el gestor de ficheros del propio administrador del servidor y tampoco ... y no entiendo porqué !!!! ... no me deja modificar las propiedades de archivos ni nada ... No sé ... me está haciendo cosas raras ... bueno mejor dicho ... no sé lo que estoy haciendo mal ! ¿Alguna idea de qué puede ser ? he estado leyendo por el foro ... no creo que sean temas de caches etc.... ¿no? Si alguien me puede echar un cable ... Muchas gracias ... Saludos !
  18. Bonjour, J'ai modifié certains "label" du fichier fr.php de mon dossier "lang" de mon thème mais malgré tout les modifications ne sont pas visible. Je suis en mode "Forcer la compilation" et cache "desactivé". Quelqu'un aurait une idée de la raison ? Merci !
  19. Hi I want to know what language to send customers a newsletter in, and as such am looking for the link between id_customer and id_lang but can't find it anywhere in SQL! There is a link for customers that have placed an order (in ps_orders table), but what about customers that have just registered without ordering? It must be saved somewhere because if I were to send an automatic email to them it would be sent in the correct language. Thanks in advance
  20. Bonjour, Comment faire pour obtenir la langue de configuration du compte employé depuis le back office ? Par exemple, depuis un fichier .tpl j'utilise "iso_lang". Merci
  21. Bonjour, Après avoir essayé de créer une condition avec la fonction explode afin de changer ma redirection sur - un .com si la langue = en - un .fr s la langue = fr Résultat : redirige seulement sur le .fr car un URL rewriting a été mis en place avec un module... Ma question est : Il y a t'il une variable que je peux récupérer avec Smarty qui me permettra de faire cette condition ? ex d'algo : if ($lang = "en") <input type="hidden" name="en"> else if ($lang = "fr") <input type="hidden" name="fr"> endif Merci, b.carilina
  22. Bonjour, Je n'arrive pas à mettre la main sur la fonction : ld_lang_change ? Ou se cache t elle ? elle me flingue le lien vers blockLanguage
×
×
  • Create New...