Page 1 of 1
Pplog can't read Greek categories
Posted: Tue 09 Jul 2013, 21:59
by koulaxizis
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?
deja vu font
Posted: Wed 10 Jul 2013, 20:57
by don570
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.
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
________________________
Posted: Wed 10 Jul 2013, 21:43
by koulaxizis
Unfortunately this is not the case...
Thanks for trying though, i appreciate it!!
![Smile :)](./images/smilies/icon_smile.gif)
Re: Pplog can't read Greek categories
Posted: Thu 11 Jul 2013, 14:00
by L18L
koulaxizis wrote:... Any ideas?
Uploading
your version of pplog and
your blog might help to help...
Re: Pplog can't read Greek categories
Posted: Fri 12 Jul 2013, 18:10
by koulaxizis
L18L wrote:koulaxizis wrote:... Any ideas?
Uploading
your version of pplog and
your blog might help to help...
You are right...
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!
Re: Pplog can't read Greek categories
Posted: Sat 13 Jul 2013, 11:09
by L18L
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!
Sorry, I was thinking that I can help locally.
But I know nothing about your server,
Pplog can't read Greek categories
Posted: Sat 13 Jul 2013, 11:46
by L18L
Maybe
SJPPLOG is better ?
See comment
Greek Translation at
http://pplog.scottjarvis.com/?viewDetailed=00021 ![Question :?:](./images/smilies/icon_question.gif)
Re: Pplog can't read Greek categories
Posted: Sat 13 Jul 2013, 12:23
by koulaxizis
I have tried it, it's really nice but i prefer the simpler version!
I uploaded my pplog version on GitHub for download and further editing by anyone.
http://github.com/koulaxizis/pplog
Thanks for your help brother!
![Smile :)](./images/smilies/icon_smile.gif)