Needs review
Project:
Pathauto
Version:
8.x-1.x-dev
Component:
I18n stuff
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
14 May 2018 at 14:09 UTC
Updated:
13 Feb 2026 at 13:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
damienmckennaComment #3
mastap commentedHi luca_loguercio
Did you find a solution to this?
We need to make URLS in Chinese characters for certain languages on our portal.
Comment #4
chrisss commentedI'd also be very interested in having this feature implemented on our site. We have the same problem - running a site in English, French, Spanish and Arabic. We need transliteration for French and Spanish but not Arabic.
Comment #7
igoragatti commentedI've created this feature changing the single checkbox to use one checkbox per language.
There might still be a need for an update hook to update the config. Please test and let me know.
Comment #8
igoragatti commentedComment #9
igoragatti commentedNeeds to adjust the tests
Comment #15
mably commentedLooks like we are missing some update hook to upgrade all existing patterns to the new transliteration configuration format.
Some tests are failing too.
Wondering if the UX couldn't be improved here. For example, if you add language to your site, you'll have to update all your patterns transliteration configuration to check (or not) that new language.
Comment #16
mably commentedSolution implemented in MR 173:
Comment #17
mably commentedHere's a summary of what was done:
Schema (
config/schema/pathauto.schema.yml): Reverted transliterate from sequence back to boolean.AliasCleaner (
src/AliasCleaner.php): Replacedin_array()with a newshouldTransliterate()method that checks for per-language config overrides viaConfigurableLanguageManagerInterface::getLanguageConfigOverride(), falling back to the global boolean. Gracefully handles non-configurable language managers (e.g. in kernel tests).Settings form (
src/Form/PathautoSettingsForm.php):language.config.{langcode}.pathauto.settingsoverrides as neededNo update hook needed — existing sites already have
transliterate: TRUE(boolean) in their config.Comment #18
mably commented