Hello,
You need to create a zip to upload at oc-admin with the following structure:
ro_RO.zip contains a folder with language code name and inside the .mo files and index.php which contains a language description. ie:
ro_RO/
themes.mo
core.mo
messages.mo
index.php
if you upload this zip into Languages -> Add a language should works fine.
I explain the structure of index.php:
Default language en_US
function locale_en_US_info() {
return array(
'name' => 'English (US)'
,'short_name' => 'English'
,'description' => 'American english translation'
,'version' => 1.0
,'author_name' => 'OSClass'
,'author_url' => '
http://osclass.org/'
,'currency_format' => 'USD %.02f'
,'date_format' => 'm/d/Y'
,'stop_words' => 'i,a,about,an,are,as,at,be,by,com,for,from,how,in,is,it,of,on,or,that,the,this,to,was,what,when,where,who,will,with,the'
);
}
You need replace the en_US for your code language (ro_RO) and something more ( 'stop_words' remains empty for now ) and look's like this:
function locale_ro_RO_info() {
return array(
'name' => 'Romanian (RO)'
,'short_name' => 'Romanian'
,'description' => 'Romanian translation'
,'version' => 2.0
,'author_name' => 'author_name'
,'author_url' => '
http://author_url'
,'currency_format' => 'RON %.02f'
,'date_format' => 'm/d/Y'
,'stop_words' => ''
);
}
Regards