Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest sNews - sNews 1.7 - with its own forums - for discussion and user mods.

Author Topic: [LANG] Greek Translation (sNews v1.3)  (Read 10034 times)

stam

  • Newbie
  • *
  • Karma: 0
  • Posts: 9
    • http://stamatiskritikos.com
[LANG] Greek Translation (sNews v1.3)
« on: February 04, 2006, 09:12:41 PM »

Hi people,

I have a friend of mine working right now on a greek translation... I'll have it posted within an hour  ;D

Stam
Logged

stam

  • Newbie
  • *
  • Karma: 0
  • Posts: 9
    • http://stamatiskritikos.com
[LANG] Greek Translation (sNews v1.3)
« Reply #1 on: February 04, 2006, 09:49:39 PM »

As promised...
In order to display correctly, you must alter the charset in index.php to windows-1253 and also when viewing snews.php in design view (in dreamweaver), go to page properties and select greek (windows) in the encoding drop down menu.


Code: [Select]
//********************
// LANGUAGE VARIABLES
// greek translation:  tzoanna ioannidou
// url: tzoanna.com
//********************
function l($variable) {
$l = Array();

$l['home'] = "Κεντρική Σελίδα";
$l['archives'] = "Αρχείο";
$l['rss_feed'] = "RSS Feed";
$l['contact'] = "Επικοινωνία";
$l['search_button'] = "Αναζήτηση";
$l['search_results'] = "Αποτελέματα αναζήτησης";
$l['charerror'] = "Πρέπει να πληκτρολογήσετε τουλάχιστον 4 χαρακτήρες για να διεξαχθεί ανζήτηση";
$l['noresults'] = "Δεν βρέθηκαν αποτελέσματα για ";
$l['resultsfound'] = " αποτελέσματα βρέθηκαν για ";
$l['recent_articles'] = "Πρόσφατα άρθρα";
$l['addcomment'] = "Αφήστε ένα σχόλιο";
$l['comments'] = "Σχόλια";
$l['comment'] = "Σχόλιο";
$l['first_page'] = "Πρώτη";
$l['last_page'] = "Τελευταία";
$l['previous_page'] = "Προηγούμενη";
$l['next_page'] = "Επόμενη";
$l['name'] = "Όνομα";
$l['sendcomment'] = "Αποστολή";
$l['comment_sent'] = "Το σχολιό σας απεστάλει";
$l['comment_error'] = "Το σχολιό σας δεν απεστάλει";
$l['ce_reasons'] = "Πιθανά αίτια: Αφήσατε κενή στήλη ή το σχόλιό σας ήταν πολύ μικρό.";
$l['email'] = "Ηλεκτρονική διεύθυνση";
$l['url'] = "Δικτυακός τόπος";
$l['message'] = "Μήνυμα";
$l['send_message'] = "Αποστολή";
$l['contact_sent'] = "Το μήνυμά σας απεστάλει";
$l['contact_not_sent'] = "Το μήνυμά σας δεν απεστάλει";
$l['message_error'] = "Πιθανά αίτια: Δε συμπληρώσατε το όνομα ή το μήνυμά σας ή η ηλεκτρονική

διεύθυνση που δώσατε δεν υπάρχει";
$l['backhome'] = "Επιστροφή στην κεντρική";
$l['backarticle'] = "Επιστροφή στο άρθρο";
$l['read_more'] = "Διαβάστε περισσότερα";
$l['article_not_exist'] = "Το άρθρο δεν υπάρχει";


//***********************************
// ADMINISTRATION LANGUAGE VARIABLES
//***********************************
$l['username'] = "Όνομα χρήστη";
$l['password'] = "Κωδικός";
$l['login'] = "Σύνδεση";
$l['already_logged'] = "Είστε ήδη συνδεδεμένος";
$l['logout'] = "Αποσύνδεση";
$l['settings'] = "Ρυθμίσεις";
$l['save_settings'] = "Αποθήκευση ρυθμίσεων";
$l['articles'] = "Άρθρα";
$l['category'] = "Κατηγορία";
$l['categories'] = "Κατηγορίες";
$l['add_category'] = "Πρόσθήκη κατηγορίας";
$l['edit_category'] = "Επεξεργασία κατηγορίας";
$l['delete_category'] = "Διαγραφή κατηγορίας";
$l['description'] = "Περιγραφή";
$l['publish_category'] = "Δημοσίευση κατηγορίας";
$l['published'] = "Δημοσιευμένη";
$l['unpublished'] = "Αδημοσίευτη";
$l['new_article'] = "Νέο άρθρο";
$l['limit_article'] = "Περιορισμός των χαρακτήρων των άρθρων της πρώτης σελίδας (0 = χωρίς όρια)";
$l['article_date'] = "Ημερομηνία δημοσίευσης άρθρου (εισάγετε αργότερη ημερομηνία για να δημοσιευτεί

το άρθρο στο μέλλον)";
$l['auto_html'] = "Αυτόματη παραγραφοποίηση";
$l['display_title'] = "Εμφάνιση τίτλου";
$l['display_info'] = "Εμφάνιση γραμμής πληροφοριών";
$l['enable_commenting'] = "Ενεργοποίηση δυνατότητας αποστολής σχολίων";
$l['edit_comment'] = "Επεξεργασία σχολίου";
$l['freeze_comments'] = "Απενεργοποιήστε τα σχόλια";
$l['unfreeze_comments'] = "Επανενεργοποιήστε τα σχόλια";
$l['publish_article'] = "Δημοσίευση άρθρου";
$l['unpublished_articles'] = "Αδημοσίευτα άρθρα";
$l['submit_new_article'] = "Αποστολή";
$l['operation_completed'] = "Η διαδικασία ολοκληρώθηκε με επιτυχία";
$l['deleted_success'] = "Επιτυχημένη διαγραφή";
$l['edit_article'] = "Επεξεργασία άρθρου";
$l['simple'] = "Απλό";
$l['advanced'] = "Προχωρημένο";
$l['images'] = "Εικόνες";
$l['attach_image'] = "Επισύναψη εικόνας";
$l['upload_image'] = "Αποστολή εικόνας";
$l['upload'] = "Αποστολή";
$l['no_image'] = "Δεν υπάρχει εικόνα";
$l['edit'] = "Επεξεργασία";
$l['delete_article'] = "Διαγραφή άρθρου";
$l['admin_error'] = "Σφάλμα ";
$l['title_error'] = "Πρέπει να εισάγετε τίτλο";
$l['text_error'] = "Πρέπει να εισάγετε κείμενο";
$l['back'] = "Επιστροφή";
$l['comments'] = "Σχόλια";
$l['enabled'] = "Ενεργά";
$l['disabled'] = "Ανενεργά";
$l['posted_by'] = "Στάλθηκε από ";
$l['delete_comment'] = "Διαγραφή σχολίου";
$l['title'] = "Τίτλος";
$l['text'] = "Κείμενο";
$l['position'] = "Θέση";
$l['display_menu_item'] = "Εμφάνιση ως επιλογή στο μενού";
$l['left'] = "Αριστερά";
$l['center'] = "Κέντρο";
$l['right'] = "Δεξιά";
$l['saved_images'] = "Αποθηκευμένες εικόνες";
$l['image_error'] = "Η εικόνα ήταν αδύνατο να αντιγραφεί";
$l['login_faliure'] = "Η πρόσβαση απαγορεύται";

return $l[$variable];
}
Logged

George Antoniadis

  • Sr. Member
  • ****
  • Karma: 0
  • Posts: 479
[LANG] Greek Translation (sNews v1.3)
« Reply #2 on: February 04, 2006, 10:42:28 PM »

VERY nice translation... ^_^ congratz!

Using snews in windows-1253 for greek will result in problems when trying to limit the characters showing and also create problems when searching...
Best thing you can do if convert this to utf-8 and do the same for your mysql collation...
(ps. do not try this if your server default mysql collation is NOT utf-8... wait for 1.4 for this) ^_^

ps2. welcome to snews.!
Logged
How I feel like I'm starless, I'm ready to fade now.
And how I feel like I'm starless, I'm hopeless and greyed out.

stam

  • Newbie
  • *
  • Karma: 0
  • Posts: 9
    • http://stamatiskritikos.com
[LANG] Greek Translation (sNews v1.3)
« Reply #3 on: February 04, 2006, 10:57:12 PM »

Quote
VERY nice translation... ^_^ congratz!
ps2. welcome to snews.!
thx ^_^

Quote
Using snews in windows-1253 for greek will result in problems when trying to limit the characters showing and also create problems when searching...
Best thing you can do if convert this to utf-8 and do the same for your mysql collation...
(ps. do not try this if your server default mysql collation is NOT utf-8... wait for 1.4 for this) ^_^
sorry for n00b question... how can I find out what is my server's default mysql collation?
Logged

George Antoniadis

  • Sr. Member
  • ****
  • Karma: 0
  • Posts: 479
[LANG] Greek Translation (sNews v1.3)
« Reply #4 on: February 05, 2006, 12:04:14 AM »

If you have phpMyAdmin installed on the front page you can see something like:
MySQL charset:  UTF-8 Unicode (utf8)

You can change this on runtime by "SET NAMES UTF8" but this needs a perm connection from the script to the mysql db...
And this is implemented in 1.4 only... ://

ps. Have you tried writing in greek? And if yes did you have the problem with weird characters in the end of the split text, or when searching?
Logged
How I feel like I'm starless, I'm ready to fade now.
And how I feel like I'm starless, I'm hopeless and greyed out.

stam

  • Newbie
  • *
  • Karma: 0
  • Posts: 9
    • http://stamatiskritikos.com
[LANG] Greek Translation (sNews v1.3)
« Reply #5 on: February 05, 2006, 03:16:29 AM »

thanks for the quick reply  ;D
yes I can see what you said on the phpmyadmin front page... and it's a drop down menu that's letting me choose.
for every language there's a utf-8 version :D
I haven't tried writing anything yet, I'm still considering the core code and possible addons/mods and how to integrate some little n00b scripts I've written  ;D
I will try soon, I hope I can figure out how to make the site to have a multilanguage on the fly option  ???
Logged

George Antoniadis

  • Sr. Member
  • ****
  • Karma: 0
  • Posts: 479
[LANG] Greek Translation (sNews v1.3)
« Reply #6 on: February 05, 2006, 03:29:16 AM »

I'd say you wait couple of days for 1.4 to come out and until then try the beta version ^_^
There are some security issues and known bugs but almost all of them have been fixed...

About the multilanguage thingie you could also try this on 1.4...
http://solucija.com/forum/index.php?topic=292.new#new

this is not even a mod... it's just an idea... ^_^
Logged
How I feel like I'm starless, I'm ready to fade now.
And how I feel like I'm starless, I'm hopeless and greyed out.

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
    • p-ahlqvist.com
[LANG] Greek Translation (sNews v1.3)
« Reply #7 on: February 05, 2006, 11:52:40 AM »

Welcome here, stam... http://tzoanna.com/index.html great looking greekess ;)
Logged
"It's only dead fish that goes with the flow... "
Updated

stam

  • Newbie
  • *
  • Karma: 0
  • Posts: 9
    • http://stamatiskritikos.com
[LANG] Greek Translation (sNews v1.3)
« Reply #8 on: February 05, 2006, 04:23:02 PM »

Quote
Welcome here, stam... http://tzoanna.com/index.html great looking greekess ;)

what do you mean greekess?  :P
btw, that's my girlfriend  ;D
Logged

George Antoniadis

  • Sr. Member
  • ****
  • Karma: 0
  • Posts: 479
[LANG] Greek Translation (sNews v1.3)
« Reply #9 on: February 05, 2006, 05:43:32 PM »

Greekess is the female of greek! ^_^
Something like saying greek lady!

where you guys from in greece?
Logged
How I feel like I'm starless, I'm ready to fade now.
And how I feel like I'm starless, I'm hopeless and greyed out.

stam

  • Newbie
  • *
  • Karma: 0
  • Posts: 9
    • http://stamatiskritikos.com
[LANG] Greek Translation (sNews v1.3)
« Reply #10 on: February 06, 2006, 02:50:28 PM »

Quote
Greekess is the female of greek! ^_^
Something like saying greek lady!
something like god and godess thing then lol

Quote
where you guys from in greece?
I'm from symi (a small island near rhodes... here the official site I have made www.symi.gr)... tzoanna is from athens  ;D
we are both living at mytilene (a bigger island in north aegean) for university studies  :D
Logged

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
    • p-ahlqvist.com
[LANG] Greek Translation (sNews v1.3)
« Reply #11 on: February 06, 2006, 03:42:17 PM »

say hello to her from me   ;)
Logged
"It's only dead fish that goes with the flow... "
Updated

George Antoniadis

  • Sr. Member
  • ****
  • Karma: 0
  • Posts: 479
[LANG] Greek Translation (sNews v1.3)
« Reply #12 on: February 06, 2006, 03:46:58 PM »

shame on you patric ~ rofl! ^_^
Logged
How I feel like I'm starless, I'm ready to fade now.
And how I feel like I'm starless, I'm hopeless and greyed out.

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
    • p-ahlqvist.com
[LANG] Greek Translation (sNews v1.3)
« Reply #13 on: February 06, 2006, 03:48:03 PM »

:) I just wanted to say Hello.
Logged
"It's only dead fish that goes with the flow... "
Updated