Pplog can't read Greek categories
- koulaxizis
- Posts: 452
- Joined: Sun 17 Jul 2011, 18:43
- Location: Greece
- Contact:
Pplog can't read Greek categories
Hello! I have translated pplog completely into Greek using UTF-8 encoding and everything seemed ok until i tried to view the articles under one certain category with Greek name. Then, it showed no results at all! There were plenty of articles under this category so i should see some results... I don't have this problem with the English categories, nor with any of the other translated into Greek items. Any ideas?
[b]Christos Koulaxizis[/b]
[i]Woof woof from Greece![/i]
[color=darkred][url=https://sourceforge.net/projects/puppystuff/][ Puppy Stuff Repository ][/url][/color]
[i]Woof woof from Greece![/i]
[color=darkred][url=https://sourceforge.net/projects/puppystuff/][ Puppy Stuff Repository ][/url][/color]
deja vu font
I not a programmer however I found that
Barry Kauler found that some apps don't display the DEJA VU font.
Barry wrote about DEJA VU font HERE
So apparently he switched to SANS font and this allowed
Asian font characters. I show the switching code that I copied
from the pinstall.sh script in the language packs.
...but I have no clue if this is related to your problem
with one heading.
________________________
Barry Kauler found that some apps don't display the DEJA VU font.
Barry wrote about DEJA VU font HERE
So apparently he switched to SANS font and this allowed
Asian font characters. I show the switching code that I copied
from the pinstall.sh script in the language packs.
...but I have no clue if this is related to your problem
with one heading.
Code: Select all
#120924 DejaVu font no good for non-Latin languages...
#see also similar code in /usr/local/petget/hacks-postinstall.sh.
LANGPACKLANG=zh
case $LANGPACKLANG in
zh*|ja*|ko*) #chinese, japanese, korean
sed -i -e 's%DejaVu Sans%Sans%' ./etc/xdg/templates/_root_*
if [ -d ./root/.jwm ];then
sed -i -e 's%DejaVu Sans%Sans%' ./root/.jwm/themes/*-jwmrc
sed -i -e 's%DejaVu Sans%Sans%' ./root/.jwm/jwmrc-theme
fi
[ -d ./etc/xdg/openbox ] && sed -i -e 's%DejaVu Sans%Sans%' ./etc/xdg/openbox/*.xml
[ -d ./root/.config/openbox ] && sed -i -e 's%DejaVu Sans%Sans%' ./root/.config/openbox/*.xml
GTKRCFILE="$(find ./usr/share/themes -type f -name gtkrc | tr '\n' ' ')"
for ONEGTKRC in $GTKRCFILE
do
sed -i -e 's%DejaVu Sans%Sans%' $ONEGTKRC
done
if [ -d ./root/.mozilla ];then
MOZFILE="$(find ./root/.mozilla -type f -name prefs.js -o -name '*.css' | tr '\n' ' ')"
for ONEMOZ in $MOZFILE
do
sed -i -e 's%DejaVu Sans%Sans%' $ONEMOZ
done
fi
;;
esac
- koulaxizis
- Posts: 452
- Joined: Sun 17 Jul 2011, 18:43
- Location: Greece
- Contact:
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: Pplog can't read Greek categories
Uploading your version of pplog and your blog might help to help...koulaxizis wrote:... Any ideas?
- koulaxizis
- Posts: 452
- Joined: Sun 17 Jul 2011, 18:43
- Location: Greece
- Contact:
Re: Pplog can't read Greek categories
You are right...L18L wrote:Uploading your version of pplog and your blog might help to help...koulaxizis wrote:... Any ideas?
I have uploaded an English version as reference HERE.
And i have upload the Greek version HERE.
Problem #1 - When i give a Greek name to a category, it displays no post under this category
Problem #2 - When i do a search with Greek characters, i get a "Chinese" result page
Problem #3 - When i add or edit content with Greek title, i get "Chinese" response, although the post appears ok!
These problems exists only when i run pplog on the server, but they don' t occur when i run it locally on Puppy!
[b]Christos Koulaxizis[/b]
[i]Woof woof from Greece![/i]
[color=darkred][url=https://sourceforge.net/projects/puppystuff/][ Puppy Stuff Repository ][/url][/color]
[i]Woof woof from Greece![/i]
[color=darkred][url=https://sourceforge.net/projects/puppystuff/][ Puppy Stuff Repository ][/url][/color]
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: Pplog can't read Greek categories
Sorry, I was thinking that I can help locally.koulaxizis wrote:These problems exists only when i run pplog on the server, but they don' t occur when i run it locally on Puppy!
But I know nothing about your server,
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Pplog can't read Greek categories
Maybe SJPPLOG is better ?
See comment Greek Translation at http://pplog.scottjarvis.com/?viewDetailed=00021
See comment Greek Translation at http://pplog.scottjarvis.com/?viewDetailed=00021
- koulaxizis
- Posts: 452
- Joined: Sun 17 Jul 2011, 18:43
- Location: Greece
- Contact:
Re: Pplog can't read Greek categories
I have tried it, it's really nice but i prefer the simpler version!L18L wrote:Maybe SJPPLOG is better ?
See comment Greek Translation at http://pplog.scottjarvis.com/?viewDetailed=00021
I uploaded my pplog version on GitHub for download and further editing by anyone.
http://github.com/koulaxizis/pplog
Thanks for your help brother!
[b]Christos Koulaxizis[/b]
[i]Woof woof from Greece![/i]
[color=darkred][url=https://sourceforge.net/projects/puppystuff/][ Puppy Stuff Repository ][/url][/color]
[i]Woof woof from Greece![/i]
[color=darkred][url=https://sourceforge.net/projects/puppystuff/][ Puppy Stuff Repository ][/url][/color]