Open mamedovramil opened 2 years ago
@mamedovramil Which version of djangocms-blog are you using. I believe in 1.2.3 the allow_unicode = True
option is set for all post slugs.
Or are you talking about category slugs? I fear there the flag is missing in version 1.2.3.
PS: Just included the allow_unicode=True
setting in PR #695 since it fits the PR's purpose. The PR needs to be approved, however.
@fsbraun sorry wrong, only setting allow_unicode = False helps to solve my problem. But I can't change that without editing blog model. My version is 1.2.3
-- When creating a title in Russian, slug is also created in Russian, but the Latin alphabet is required. Setting allow_unicode = False in the model Post.translations.slug helps, but there is no separate setting for that.
@mamedovramil All right, I misunderstood. You get Cyrillic letters proposed for the slug but need latin letters, right? This means right now you have to manually change the slug to latin letters.
Can you check if category slugs behave as you propose?
If I get this right, you propose a feature to make configurable in the settings.
@fsbraun Correct. Category slug behave as I need.
Thanks a lot @fsbraun for taking care of this. Hopefully we will be able to merge support for this soon
When creating a title in Russian, slug is also created in Russian, but the Latin alphabet is required. Setting allow_unicode = False in the model Post.translations.slug helps, but there is no separate setting for that.