hi,
I have a problem as below;
site language is Turkish.
when i paste a word as a title like GIDA it shown as gida. But it must be gıda. Because GIDA has I not İ.
Any idea please.
Thanks.
hi,
I have a problem as below;
site language is Turkish.
when i paste a word as a title like GIDA it shown as gida. But it must be gıda. Because GIDA has I not İ.
Any idea please.
Thanks.
This happens when the title has only uppercase letters, the site setting title_prettify
is enabled and the site setting allow_uppercase_posts
is disabled.
Ruby has an optional parameter for String#downcase
that we could use when the default locale is Turkish, but I’m really on the fence here. What if someone uses “CIA BLA BLA” as topic title on a Turkish forum?
So, here are some solutions for you:
allow_uppercase_posts
site settingtitle_prettify
site settingthank you.
So there is no solution until you mentioned below is live. Right?
it is just a example
i will use discourse as a wiki for a project, only way is coping texts from somewhere and all titles are uppercase
this may be so ugly
but i need this
I am going to change this to feature
The feature request here is to support title_prettify
when a site’s locale is set to Turkish.
I think this is a reasonable request as long as you can help us set out where the rules in core diverge for cases where the locale of the site is Turkish.
Thank you.
It is a pleasure for me.
I can share a list with you.
Hi,
I prepared a list. If it is not enough, i can do more. thank you.
title_prettify_turkish - Sheet1.pdf (52.2 KB)
I say if SiteSetting.default_locale
is set to tr_TR
it makes sense to use :turkic
versions of downcase
/ capitalize
etc in TextCleaner
Seems like the right thing to do. I guess if we want to provide an escape hatch we could make a hidden site setting to disable this on Turkish sites that use English titles.
Do you want to take this @gerhard ?
Problem solved. Thanks again