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 Thu 28 Aug 2014, 03:15
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Misc
Pplog and Greek language
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [11 Posts]  
Author Message
lesizmor


Joined: 09 May 2012
Posts: 9
Location: Greece

PostPosted: Thu 10 May 2012, 17:26    Post subject:  Pplog and Greek language  

Hello! I'm trying to use Pplog but every time i 'm trying to use Greek language, it appears only symbols! Do you know how i could fix it?
_________________
Les Iz Mor

http://lesizmor.tk
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sat 12 May 2012, 06:27    Post subject: Pplog and Greek language
Subject description: use charset other than iso-8859-1
 

I was trying too.

Copied manually some greek text (I understand just alpha and beta)
into a file of Web-Server/blog/posts.

Changed line 305 of /root/Web-Server/blog/pup_pplog.pl from
<meta http-equiv=Content-Type content=text/html; charset=iso-8859-1>
(which is really false) to
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

This should have caused the browser to display the page as UTF-8.
( or in seamonkey: View > Character encoding > UTF8 )

Thus there has something more to be done.
pplog.png
 Description   fake only
 Filesize   26.28 KB
 Viewed   658 Time(s)

pplog.png

Back to top
View user's profile Send private message 
lesizmor


Joined: 09 May 2012
Posts: 9
Location: Greece

PostPosted: Sat 12 May 2012, 06:58    Post subject:  

Seems like every time i reload the page, it goes back to western encoding... Sad
_________________
Les Iz Mor

http://lesizmor.tk
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sat 12 May 2012, 07:39    Post subject:  

lesizmor wrote:
..and it worked!..


But that is no solution of the problem. No user will make the

View > Encoding > UTF-8

for each page!!!! Crying or Very sad Crying or Very sad

----
edit: written this before seeing your last post

another edit: ..... which was:

lesizmor wrote:
This was really great!! I followed your instructions and it worked! Thank you!!

I got one more question: i don't own a server but i 'd like to publish the blog. How could i do that? Any ideas?
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Sat 12 May 2012, 09:18    Post subject: Pplog and Greek language
Subject description: and many other languages too !!!
 

1st problem is solved: that was encoding.

http://s411.codeinspot.com/q/2165939 has helped to solve it.


Next will be: Making the navigation international


Edit:
Deleted attached script
pplog-UTF8.png
 Description   
 Filesize   23.94 KB
 Viewed   629 Time(s)

pplog-UTF8.png


Last edited by L18L on Tue 15 May 2012, 05:22; edited 1 time in total
Back to top
View user's profile Send private message 
lesizmor


Joined: 09 May 2012
Posts: 9
Location: Greece

PostPosted: Sat 12 May 2012, 12:31    Post subject:  

Nice! Thank you! Smile
_________________
Les Iz Mor

http://lesizmor.tk
Back to top
View user's profile Send private message Visit poster's website 
lesizmor


Joined: 09 May 2012
Posts: 9
Location: Greece

PostPosted: Sat 12 May 2012, 15:39    Post subject: Done!!!
Subject description: PPLOG "speaks" Greek!
 

The whole PPLOG, translated into Greek! I really enjoyed that! Very Happy

Thank you all for your help, you are great!! Smile
blog.zip
Description 
zip

 Download 
Filename  blog.zip 
Filesize  42.65 KB 
Downloaded  229 Time(s) 

_________________
Les Iz Mor

http://lesizmor.tk
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Sat 12 May 2012, 22:05    Post subject:  

I have updated the pplog PET package:

http://bkhome.org/blog/?viewDetailed=02830

_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
lesizmor


Joined: 09 May 2012
Posts: 9
Location: Greece

PostPosted: Sun 13 May 2012, 03:34    Post subject: Finished translating
Subject description: Updated files!
 

I 've finished translating PPLOG into Greek. Below is the zip with all the files. Greek navigation, Greek messages, Greek welcome post, Greek time zone, Greek notifications, Greek everything (except from the banner, i left that untouched!) Smile
blog.zip
Description  Updated files for Greek PPLOG
zip

 Download 
Filename  blog.zip 
Filesize  42.67 KB 
Downloaded  388 Time(s) 

_________________
Les Iz Mor

http://lesizmor.tk
Back to top
View user's profile Send private message Visit poster's website 
koulaxizis


Joined: 17 Jul 2011
Posts: 428
Location: Greece

PostPosted: Tue 15 May 2012, 03:52    Post subject: RSS problem  

Seems like there is a problem with the RSS (on the Greek translation) and i can't figure out why! Could someone check it and help?
_________________
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: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Tue 15 May 2012, 04:54    Post subject: Re: RSS problem  

my friend koulaxizis wrote:
Seems like there is a problem with the RSS (on the Greek translation) and i can't figure out why! Could someone check it and help?

Checked....
Confirmed....

Change line 266
Code:
   print header('text/xml'),'<?xml version="1.0" encoding="UTF-8"?>
to
Code:
print header(-charset => qw(utf-8)), '<?xml version="1.0" encoding="UTF-8"?>


... repaired Cool

And please change
our $config_sendMailWithNewCommentMail to one in Greece Wink
rss.png
 Description   UTF-8 also in RSS
 Filesize   41.23 KB
 Viewed   464 Time(s)

rss.png

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [11 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Taking the Puppy out for a walk » Misc
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.0662s ][ Queries: 12 (0.0075s) ][ GZIP on ]