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 Fri 21 Nov 2014, 20:18
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 Posts_count  
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_website 
L18L

Joined: 19 Jun 2010
Posts: 2574
Location: Moved from Hosla to www.eussenheim.de

PostPosted: Sat 12 May 2012, 06:27    Post_subject: Pplog and Greek language
Sub_title: 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   670 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_website 
L18L

Joined: 19 Jun 2010
Posts: 2574
Location: Moved from Hosla to www.eussenheim.de

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: 2574
Location: Moved from Hosla to www.eussenheim.de

PostPosted: Sat 12 May 2012, 09:18    Post_subject: Pplog and Greek language
Sub_title: 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   720 Time(s)

pplog-UTF8.png


Edited_time_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_website 
lesizmor


Joined: 09 May 2012
Posts: 9
Location: Greece

PostPosted: Sat 12 May 2012, 15:39    Post_subject: Done!!!
Sub_title: 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  243 Time(s) 

_________________
Les Iz Mor

http://lesizmor.tk
Back to top
View user's profile Send_private_message Visit_website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7082
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_website 
lesizmor


Joined: 09 May 2012
Posts: 9
Location: Greece

PostPosted: Sun 13 May 2012, 03:34    Post_subject: Finished translating
Sub_title: 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  406 Time(s) 

_________________
Les Iz Mor

http://lesizmor.tk
Back to top
View user's profile Send_private_message Visit_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_website 
L18L

Joined: 19 Jun 2010
Posts: 2574
Location: Moved from Hosla to www.eussenheim.de

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   500 Time(s)

rss.png

Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Taking the Puppy out for a walk » Misc
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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