Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#31 2008-03-11 14:57:23
- masa
- Member
- From: North Wales, UK
- Registered: 2005-11-25
- Posts: 1,095
Re: localised typography for Textile
OK, I just had a go at this.
I used a copy of en-gb.txt as I want to keep the interface in English and then modified the relevant lines to use Icelandic quote marks:
txt_quote_double_close => “
txt_quote_double_open => „
… but it didn’t have any effect. Textile still converts straight quotes to English-style quotes. The lang file was saved and uploaded as utf-8.
Why doesn’t it work?
Offline
Re: localised typography for Textile
I think you have to edit classTextile.php in the /lib directory.
Offline
#33 2008-03-11 15:29:45
- masa
- Member
- From: North Wales, UK
- Registered: 2005-11-25
- Posts: 1,095
Re: localised typography for Textile
Fantastic Ruud, that did the trick – thanks very much! :-)
Now I only wonder, what’s the purpose of these entries in the lang file, if they don’t have an effect?
Offline
Offline
#35 2008-03-11 17:17:58
- masa
- Member
- From: North Wales, UK
- Registered: 2005-11-25
- Posts: 1,095
Re: localised typography for Textile
Gocom wrote:
gTxt("txt_quote_double_close"), that’s why. Language files have no efect to the user’s output nor Textile, but it do change how lang-strings are shown. But I don’t have no clue where those quotes are used.
I see, I misunderstood what it’s for and got unduly excited,… wouldn’t be the first time. ;-)
Offline