Skip to:
Content
Pages
Categories
Search
Top
Bottom

Install other language

Viewing 10 replies - 1 through 10 (of 10 total)
  • Avatar of igor123
    igor123
    Participant

    @igor123

    Solved it.
    Now it works with placing the language-file in the lang-folder of the eventpress folder.

    Avatar of igor123
    igor123
    Participant

    @igor123

    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

    Avatar of Hollosch
    Hollosch
    Participant

    @hollosch

    Hi,
    i found a german language-file and copy this in the eventpress/lang folder but nothing happens…

    Avatar of kunalb
    kunalb
    Participant

    @kunalb

    @Igor123 You might have to write your own translation file for the plugin buddypress custom posts—there are some post type independent words that are not converted in EventPress.

    @Hollosch I’m not sure why that’s happening; could you give me a few more details about your install?

    Avatar of Hollosch
    Hollosch
    Participant

    @hollosch

    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…

    Avatar of igor123
    igor123
    Participant

    @igor123

    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.

    Avatar of kunalb
    kunalb
    Participant

    @kunalb

    @igor123, @hollosch All text is derived from eventpress and buddypress-custom-posts. If you’ve translated both the plugins then I can’t think of a reason for text not getting translated.

    Worst case, for the current versions you might want to grep and replace the text if it doesn’t get translated.

    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.

    @kunalb:

    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 put

    load_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.php

    that way it loads before anything else. Cheers.

    Avatar of kunalb
    kunalb
    Participant

    @kunalb

    @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.

Viewing 10 replies - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.