• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Transliteration (character conversion) option missing in Chevereto Pro 4.3.6

Version
: 4.3.6
Website URL
https://fotorix.com/K%C4%B1r-%C3%87i%C3%A7ekleri-ve-Kad%C4%B1n-Portresi-HD-Wallpaper-%C4%B0ndir.USB
PHP version
8.3
Database driver
MySQL
Database version
xxx
Web browser
xxxx

yolcu_34

Chevereto Member
Hello,

I’m using Chevereto Pro 4.3.6 and I want to enable transliteration so that special characters (Ç, Ş, Ğ, İ, Ü, Ö) are converted to their Latin equivalents (c, s, g, i, u, o) in URLs.

In the documentation it mentions a Transliteration (Character conversion) toggle under Settings → Language/Content, but in my admin panel I only see default language, auto language detection, language selector, and enabled languages.

There is no “Transliteration” option showing up.

Questions:

Is the transliteration feature included in Chevereto Pro 4.3.6, or was it removed/relocated?

If it should be available, where exactly can I find it in the admin panel?

If not available in the UI, can I enable transliteration manually in a config file (for example app/settings.php or slug_transliterate)?

I want to avoid encoded URLs like:

/%F0%9F%8C%BBK%C4%B1r-%C3%87i%C3%A7ekleri-HD-Wallpaper


and instead generate SEO-friendly URLs like:

/kir-cicekleri-hd-wallpaper


Thanks in advance for your help!
 
I can't find anywhere in our docs (v3, v4) any mention that we ever supported transliteration in the manner you are describing. What we have is the unaccent_string function that we internally use exclusively to clean filenames, it was never used to generate URLs.

I want to avoid encoded URLs like:

/%F0%9F%8C%BBK%C4%B1r-%C3%87i%C3%A7ekleri-HD-Wallpaper


and instead generate SEO-friendly URLs like:

/kir-cicekleri-hd-wallpaper
The function used to generate the friendly URL is seoUrlfy which is designed to support any character, not only alphanumerics. You will require to alter this function to achieve what you need.

Something like this:

PHP:
function seoUrlfy(string $text): string
{
    $prepare = $text;
    $prepare = preg_replace('/[\\\\\/\~\&\!\'\"\?]+/', '', $prepare);
    $prepare = preg_replace('/[\s-]+/', ' ', $prepare);
    $prepare = str_replace(' ', '-', trim($prepare));
    $prepare = strip_tags($prepare);

    return unaccent_string($prepare);
}
 
Back
Top