Hi all,
I finished translating Eventum to Brazilian Portuguese. Those interested can get the
translation file (eventum.po) from
http://translate.unixlan.com.ar/pt_BR/eventum/index.html
Here are the steps to get it up and running:
1. Create the pt folder tree under <path-to-eventum>/misc/localization like this:
--8<--
pt
└───LC_MESSAGES
--8<--
2. Copy the translated eventum.po to <path-to-eventum>/misc/localization and rename
it to pt.po.
3. Add pt to the list of languages in line 5 of
<path-to-eventum>/misc/localization/Makefile and type 'make'. You should now have a
eventum.mo file under <path-to-eventum>/misc/localization/pt/LC_MESSAGES.
4. Add a new line after line 56 of <path-to-eventum>/include/class.language.php and
paste
'pt_BR' => 'Brazilian Portuguese'
then save. Lines 56, 57 and 58 should look like
--8<--
'sv_SE' => 'Swedish',
'pt_BR' => 'Brazilian Portuguese'
);
--8<--
5. Edit line 84 of <path-to-eventum>/config/config.php and replace en_US with pt_BR.
It should look like
--8<--
define('APP_DEFAULT_LOCALE', 'pt_BR');
--8<--
6. Eventum should display in Brazilian Portuguese now (YES!). Just to play fair, as per
the Wiki, go to the Preferences screen and check if Brazilian Portuguese exists in the
Available Languages combo box. Select it and update your preferences.
I put a good bit of work into it, but of course, there could be (and probably there are)
mistakes. Feel free to point them out, or even better, correct them at the translation
site.
Also, I'd like to report two small bugs in the templates. In line 185 of
<path-to-eventum>/templates/add_time_tracking.tpl.html, "Work ended:" should be
enclosed between a "{t} {/t}" pair. The same goes for line 60 of
<path-to-eventum>/templates/time_tracking.tpl.html, with "delete".
Regards,
Georger
Novos endereços, o Yahoo! que você conhece. Crie um email novo com a
sua cara @ymail.com ou @rocketmail.com.
http://br.new.mail.yahoo.com/addresses