Osclass forums
Development => Themes => Topic started by: Juan Ramón on September 06, 2011, 08:19:53 pm
-
i18n is an abbreviation for __internationalization__. You can get more information in the wikipedia. OSClass uses the GNU gettext lib... [more] (http://osclass.org/2011/09/06/translating-osclass-plugins-themes/)
-
hi all
I read the guide ...
I translated the language file in my file does not work but the site is not translated
someone help me?
regards
max
-
Hi Max.
did you install and use poedit to translate the .po file, and then to create a new .mo file ?
Regards
Dror
Israel
-
yes i read but i have a MAC and this last version for mac not work in my pcmac :-((
regads
max
-
You can open the po file with a text editor to translate it and send it to me or someone forum user for po -> mo file
regards
VS
-
@masmaz perhaps you can try this one? http://www.macupdate.com/app/mac/22905/poedit
-
How to translate these words
-
Very good question.. i have the same problem.. i am using the realestate theme.. i have translated a lot but there are a few things a can't translate
price in the left search sidebar
for sale
for rent
etc
-
They are in
/oc-content/languages/YOUR_LANGUAGE/core.po
-
Hi there,
I am using the minimalist theme which also has a lot of issues at first when using a different language than english. Go through all PHP files of the theme folder and change all pointers to the wrong theme name. Ie. in Minimalist I had to change a LOT of pointers to 'modern' into 'minimalist' or 'modern-theme' into 'minimalist'.
For osClass and it's popularity it is very important that themes are 100% working before they are offered to the public as a 'working' theme. Same for Minimalist goes for Repurpose, also having a lot of issues which I think are just related to fast/sloppy work though the themes themselves are pretty amazing! Having working themes makes ALL the difference for osClass guys.....
I even had to edit one of the PO files because it was missing a translation string..... same here, very important to make sure all work is focussed on one well working english version of which people can make their translations so at all ties there is ONE main up-to-date PO per osClass version for every PO type. (ie. messages/theme/core)
Keep it tidy ;)
NB. Compliments to main coders of osClass, despite theme issues everything so far seems to work flawless but I haven't tested everything yet! :)
Best regards,
Eric
-
How to translate these words
Very good question.. i have the same problem.. i am using the realestate theme.. i have translated a lot but there are a few things a can't translate
price in the left search sidebar
for sale
for rent
etc
Create String like this in po
msgid "Newly listed"
msgstr "موبيل" ----your translated text
msgid "Lower price first"
msgstr "وبيل" ----your translated text
msgid "Higher price first"
msgstr "وبيل" ----your translated text
and open your item.php mention lik this
<?php _e('Newly listed', 'bender'); ?>
<?php _e('Lower price first', 'bender'); ?>
<?php _e('Higher price first', 'bender'); ?>
Its will working I translated lik this in this website www.adsofkuwait.com
-
Hello guys
I got some issue with translation
I have 2 language installed and when i change language everything change but not the categories and its filled in both languages
So i wondering if someone else had or has same issue?
-
did you solve the problem? i have the same!
-
Hi,
everything change but not the categories and its filled in both languages
This is a pretty serious Osclass bug that I studied and solved a while ago (but the solution involves changing a core file, so I pulled an official request (https://github.com/osclass/Osclass/pull/1794), no answer so far... :()
You need to backup your oc-includes/osclass/model/Category.php file (just in case) and replace its contents with this:
https://raw.githubusercontent.com/teseo-2014/Osclass-develop/develop/oc-includes/osclass/model/Category.php
Now, being a core file, remember that you need to redo this modification every time you upgrade Osclass (unless they solve this once and for all).
Regards
-
THANK TO U TESEO ALL IS GOING WELL NO NEED TO EDIT IN MO AND PO LANGUAGES. JUST TO TRANSLATE IN OSCLASS CONTROL PANEL CATEGORIES AND CHANGE THE PHP THAT YOU GIME US!!! YOU ARE A GENIUS! :) :) :) :)
-
You're welcome. :)
Regards
-
Friends, I always do translations of themes and plugins for OSClass, but never share. How do I share?
There is an account on Github, for example, to translations of themes and plugins?
Thanks.
-
Recently I installed 3.7.3 and I had to apply this Category.php fix. I upgraded to 3.7.4 and I had to redo it like you said. It has been a while. Now I am worried that Osclass is being abandoned, and I am reluctant to invest in plugins themes and what not.
Why cant they just merge your fix into the code? I will probably just translate English Catergories to Spanish to not have to worry about this anymore.
My site is chiricados.com
-
Recently I installed 3.7.3 and I had to apply this Category.php fix. I upgraded to 3.7.4 and I had to redo it like you said. It has been a while. Now I am worried that Osclass is being abandoned, and I am reluctant to invest in plugins themes and what not.
Why cant they just merge your fix into the code? I will probably just translate English Catergories to Spanish to not have to worry about this anymore.
My site is chiricados.com
3.7.4 was a SECURITY RELEASE and nothing else. A quick and very important release because of a major security problem discovered 4 days ago.
You should worry a lot more about your site that is empty (runing adsense !!!). And some posted ads ... well half of them are scam/fraud ads.
-
Hi,
There is a known issue with child theme translation : https://github.com/osclass/Osclass/issues/1879 (https://github.com/osclass/Osclass/issues/1879).
Someone know how to patch this ?
Thanks