Based on the templates/files asymTypB.lco, brieftemplate.tex, briefwbk.tex found at http://www.komascript.de/files/KOMA-Script-3-Buch-Beispielcode.zip, I derived a modified template for an invoice (initially as posted at https://tex.stackexchange.com/a/152558/8272).
Attempting to translate this into Greek (available at https://github.com/NikosAlexandris/invoice_el), I've added the following instructions, as per KOMA's guide recommendations:
\AtBeginDocument{%
\providecaptionname{greek}{\datename}{Ημερομηνία}%
\providecaptionname{greek}\subjectname{Θέμα}%
\providecaptionname{greek}\headtoname{Προς}%
\providecaptionname{greek}{\customername}{Πελάτης (Κωδικός, Αριθμός)}%
\providecaptionname{greek}\yourmailname{Εγγραφή Πελάτη}%
\providecaptionname{greek}{\yourrefname}{Διακριτικός τίτλος έργου}%
\providecaptionname{greek}\headfromname{Από}%
\providecaptionname{greek}\emailname{η-Ταχυδρομείο}%
\providecaptionname{greek}\wwwname{Url}%
\providecaptionname{greek}\phonename{Τηλέφωνο}%
\providecaptionname{greek}\faxname{Τηλεομοιότυπο}%
\providecaptionname{greek}{\myrefname}{Εσωτερική εγγραφή}%
\providecaptionname{greek}{\invoicename}{Τιμολόγιο No.}%
\providecaptionname{greek}{\bankname}{Τραπεζικός Λογαριασμός}%
\providecaptionname{greek}\ccname{cc}%
\providecaptionname{greek}\enclname{Επισυναπτόμενα}%
\providecaptionname{greek}\pagename{Σελίδα}%
}
In addition, I added new variables in the respective .lco file as explaiend in (this) KOMA's script guide (english version, page 371), a new variable accepts a pre-defined description, i.e.: newkomavar*[description ]{name }. For example,
% New variable(s) here!
\newkomavar{company}%
\newkomavar{professiona}%
\newkomavar{professionb}%
\newkomavar{fromvatin}%
\newkomavar{fromlinkedin}%
So far is all fine. However, adding a greek description for a custom variable, won't work as expected. To exemplify, the following
\newkomavar*[ΑΦΜ Πελάτη]{yourvatin}%
appears in the compiled pdf (PDFLaTeX) as ὐἇὐᾔὐῂ ὐήὐᾡὐὢὐῇὓᾲὐᾣ. How should a greek description for custom koma variables be realised (inside PDFLaTeX) from inside an .lco file?


refnameandrefvaluemust also be declared with\newkomavar. I get "Class scrlttr2 Error: KOMA-Script variable not defined." – mvkorpel Jun 06 '14 at 19:51\newkomavar*[ΑΦΜ Πελάτη]{yourvatin}%). If you mean the two lines whererefnameandrefvalueare wrongly attempted to be set, they were leftovers from a trial and error run. I removed them now. I do not see, however, how they were related with the false appearance of the Greek description of the custom variableyourvatin. Could you provide an example? – Nikos Alexandris Jun 07 '14 at 10:00\openingcommand. I don't know if the problem is with the document or my TeX installation. I'm using TeX Live 2014 pretest. – mvkorpel Jun 07 '14 at 11:57custom_invoice_asymTypB_el.lco, I moved\raggedrightto be the last command inside the\parboxtitled "Main block of Info-Column". I don't know why this helps. 2. Incustom_invoice_template_el.tex, I replaced\smallskipwith\smallskipamount: a length is required. 3. Also in the template file, I commented out\setkomavarlines where\includegraphicspoints to a non-existent file. Bonus: I moved\makeatletterdown to just before\@setplengthand used\makeatotherto reset the change. – mvkorpel Jun 16 '14 at 14:53