DroidXX Posted February 7 Share Posted February 7 Hello everyone! On Prestashop 1.7.8.9 encounters a problem with substituting special characters like "ő" "ű" "í" in URL generation. Does anyone know what might be the issue and where should I look for it? Similar issues existed in the previous 1.6 system, but everything has changed since then. Thank you in advance :) Link to comment Share on other sites More sharing options...
endriu107 Posted February 7 Share Posted February 7 In BO > Advanced parameters Traffic & SEO > SEO & URLs there is option: Accented URL check it. Link to comment Share on other sites More sharing options...
DroidXX Posted February 7 Author Share Posted February 7 (edited) Thank you for your quick reply. I dont need accented character. I need to convert to the right way. Like ő = o. At the moment ő = eo üres >> ueres instead of ures I hope you understand Edited February 7 by DroidXX (see edit history) Link to comment Share on other sites More sharing options...
Nickz Posted February 7 Share Posted February 7 Use the old form, ä = ae, ö =oe and so on. Link to comment Share on other sites More sharing options...
Daresh Posted February 7 Share Posted February 7 This problem is known for years but there is still no consensus in the PrestaShop team. Some folks say ő = o, others ő = eo. To make things worse, the backoffice javaScript does it one way, and PHP code another way. Link to comment Share on other sites More sharing options...
DroidXX Posted February 8 Author Share Posted February 8 Why don't they let us decide what we want to use? Anyway, I think Java is doing it wrong. Do you know which file it is and where I can find it? Link to comment Share on other sites More sharing options...
endriu107 Posted February 8 Share Posted February 8 I think it's not that simple if you use multiple languages in store and there is a lot different characters to encode. Also not all encoding method works same on different PHP versions. Link to comment Share on other sites More sharing options...
Daresh Posted February 8 Share Posted February 8 I don't know where it is exactly in the code, it's probably bundled into some one minimized core.js file. But try to do this test: prepare a simple CSV file with one product, having all your native characters in the name. Then import this product using the built in import tool. Check what the characters will be in the URL. Link to comment Share on other sites More sharing options...
DroidXX Posted February 8 Author Share Posted February 8 I've already fixed the same problem once under 1.6, it wasn't complicated.... I just need to know where is this located. 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