Install other language
-
Is it possible to install a different language than english?
I found this question already on http://code.google.com/p/eventpress/issues/detail?id=76 but it doesn’t help.Thanks in advance
-
Solved it.
Now it works with placing the language-file in the lang-folder of the eventpress folder.Some translations don’t work.
They still are in english, althought they are only in the Eventpress language file and don’t exist in the buddypress language file.
Does someone know why it doesnt work?
E.G. the word Event Creator doesn’t change.Thanks
Hi,
i found a german language-file and copy this in the eventpress/lang folder but nothing happens…ok – i created a german file with 99% of the frontend phrases (from the trunk folder in zip), but there are still some phrases in standard-language. Have a look: http://www.geislingen.org/events/
At the event-overwiew page i translated all the phrases, sure – and there are still english phrases…Thanks kunalb for the answer!
I downloaded the language file “eventpress-pt_BR.po” from http://code.google.com/p/eventpress/issues/detail?id=76 and translated everything by myself.
But there are still some english phrases that won’t be translated (e.g. the words: All events, Active…ago).
I think it is the same problem than Hollosch.Hi. I’m also struggling a bit with the translations. My problem is that I can’t get the titles (main tab, widget title) translated in Dutch. I think I have to do it in the buddypress po/mo, but I haven’t been able to edit that so far. I’ve grepped the source and changed some things in views/wp-widgets and models/events. Cosmetically it works, but some functionality seems to gets broken when I change ‘events’ do Dutch in the reg-type in model/events.php (mainly the inidividual registration details etc.., I think underlying some code depends on the type being called ‘events’). Also for deployment purposes I rather not hack the code… Now some stuff is still not translated in my case – mostly titles of things – but for my purpose all is working nice enough.
Meanwhile I’ve translated custom posts as well in nl_NL. If you don’t have it yet, let me know and i’ll email it to you.
Moreover: I’ve changed some styling in the way everything is displayed and I noticed that in de the css .ep-event-detail class the ids #ep-end-date and #ep-end-time id are accidentaly swapped. Also the use of spans and some text between the elements there caused me some problems styling. I suggest ul/li tags… Separating the time and date also causes a locatization issue: in Dutch it’s first date, then time but now it’s hardcoded the other way around…
Anyhow, keep up the good work. I’m happy with what you’ve created!
Well, the problem is that localization script is loaded in wrong place, too late to translate previously initiated script.
All you have to do is to putload_plugin_textdomain( ‘eventpress’, false, basename( EP_DIR ) . ‘/lang’ );
right after:
function ep_WP() {
global $ep_models, $ep_controllers, $ep_views;in file
eventpress/controllers/wp.phpthat way it loads before anything else. Cheers.
@gjg Thanks for the feedback, I’ll look into modifying the markup for the event meta data. @Gambare Thanks—that’s something I didn’t realize, I have fairly little experience with localization — created an issue for it http://code.google.com/p/eventpress/issues/detail?id=91 and will take care of it in the next release.
You must be logged in to reply to this topic.