Bug: URL Latin set
Hi, I'm using the software in Turkish. Turkish characters , but the URL remains valid.
Example:
www.site.com/index.php?categorie5/foto-raf (ğ)
Must be:
www.site.com/index.php?categorie5/fotograf (g)
For the above example it has categories. If there are problems on the tags as follows.
Example:
http://www.site.com/index.php?tag/geli-im-ca (gelişim-çağı)
Must be:
http://www.site.com/index.php?tag/gelisim-cagi
How can I fix these issues? Is there a plug-in?
Thanks.
Example:
www.site.com/index.php?categorie5/foto-raf (ğ)
Must be:
www.site.com/index.php?categorie5/fotograf (g)
For the above example it has categories. If there are problems on the tags as follows.
Example:
http://www.site.com/index.php?tag/geli-im-ca (gelişim-çağı)
Must be:
http://www.site.com/index.php?tag/gelisim-cagi
How can I fix these issues? Is there a plug-in?
Thanks.
Connectez-vous ou Inscrivez-vous pour répondre.
Réponses
It might help the developer I think.
exemple: é will give e, à will give a
for non recognized caracters by the function title2url, accented caracters are replaced by -
this is how plxUtils::title2url works
Consultant PluXml
Ancien responsable et développeur de PluXml (2010 à 2018)
OK. I also can help improve Turkish. I even started translating the language file . Characters are as follows .
$tr = ('ş','Ş','ı','I','İ','ğ','Ğ','ü','Ü','ö','Ö','Ç','ç','(',')','/',':',',');
$eng = ('s','s','i','i','i','g','g','u','u','o','o','c','c','','','-','-','');
Peki, nasıl benim soruya cevap alabilirim? Nasıl URL düzeltme eklerim?
Thanks.
I found the function line. How do I change? I know PHP at an intermediate level. Thanks.
class.plx.utils.php
mais la fonction htmlentities ne fonctionne pas de la même façon avec toutes les lettres alors j'ai proposé la correction là :
https://github.com/pluxml/PluXml/pull/175
Let's see if it works for you
Consultant PluXml
Ancien responsable et développeur de PluXml (2010 à 2018)