Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 20 Dec 2014, 18:58
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Pplog can't read Greek categories
Moderators: Lobster, MU, raffy
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
koulaxizis


Joined: 17 Jul 2011
Posts: 428
Location: Greece

PostPosted: Tue 09 Jul 2013, 17:59    Post subject:  Pplog can't read Greek categories
Subject description: Help needed please...
 

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?
_________________
Christos Koulaxizis
Woof woof from Greece...

[ Puppy packages | Puppy search ]
Back to top
View user's profile Send private message Visit poster's website 
don570


Joined: 10 Mar 2010
Posts: 3437
Location: Ontario

PostPosted: Wed 10 Jul 2013, 16:57    Post subject: 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.


Code:



#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


________________________
Back to top
View user's profile Send private message 
koulaxizis


Joined: 17 Jul 2011
Posts: 428
Location: Greece

PostPosted: Wed 10 Jul 2013, 17:43    Post subject:  

Unfortunately this is not the case...

Thanks for trying though, i appreciate it!! Smile

_________________
Christos Koulaxizis
Woof woof from Greece...

[ Puppy packages | Puppy search ]
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 2619
Location: www.eussenheim.de/

PostPosted: Thu 11 Jul 2013, 10:00    Post subject: Re: Pplog can't read Greek categories
Subject description: Help needed please...
 

koulaxizis wrote:
... Any ideas?

Uploading your version of pplog and your blog might help to help...
Back to top
View user's profile Send private message 
koulaxizis


Joined: 17 Jul 2011
Posts: 428
Location: Greece

PostPosted: Fri 12 Jul 2013, 14:10    Post subject: Re: Pplog can't read Greek categories
Subject description: Help needed please...
 

L18L wrote:
koulaxizis wrote:
... Any ideas?

Uploading your version of pplog and your blog might help to help...


You are right... Smile

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!

_________________
Christos Koulaxizis
Woof woof from Greece...

[ Puppy packages | Puppy search ]
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 2619
Location: www.eussenheim.de/

PostPosted: Sat 13 Jul 2013, 07:09    Post subject: Re: Pplog can't read Greek categories
Subject description: server problem.
 

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,
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2619
Location: www.eussenheim.de/

PostPosted: Sat 13 Jul 2013, 07:46    Post subject: Pplog can't read Greek categories  

Maybe SJPPLOG is better ?
See comment Greek Translation at http://pplog.scottjarvis.com/?viewDetailed=00021 Question
Back to top
View user's profile Send private message 
koulaxizis


Joined: 17 Jul 2011
Posts: 428
Location: Greece

PostPosted: Sat 13 Jul 2013, 08:23    Post subject: Re: Pplog can't read Greek categories  

L18L wrote:
Maybe SJPPLOG is better ?
See comment Greek Translation at http://pplog.scottjarvis.com/?viewDetailed=00021 Question


I have tried it, it's really nice but i prefer the simpler version! Wink

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

_________________
Christos Koulaxizis
Woof woof from Greece...

[ Puppy packages | Puppy search ]
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0793s ][ Queries: 12 (0.0158s) ][ GZIP on ]