• Hi there!

    I’m testing CoursePress in a multisite environment (under a folder called “ms”) and I’m going crazy with the localization files. I’m also using a childtheme of the provided one, but have already tried without using the child theme. I’ve used PO Editor to translate CoursePress and have copied my it_IT.po/mo to the following paths:

    ms/wp-content/languages
    ms/wp-content/languages/plugins
    ms/wp-content/languages/plugins/coursepress
    ms/wp-content/plugins/coursepress/languages
    ms/wp-content/themes/coursepress/languages
    ms/wp-content/themes/coursepress-child/languages

    You can test it out at http://egnosis.it/ms/ittiri/

    The button string was translated using the shortcodes documentation, but if you click on the Signup/Iscriviti button you’ll verify that all the content written in the signup box is in English.

    I think I’ve tried all possible directories. Or haven’t I? 🙂

    https://wordpress.org/plugins/coursepress/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter litbea

    (@litbea)

    Well, I’ve changed cp-it_IT.mo to coursepress-it_IT.mo and cp-it_IT.mo to coursepress-it_IT.mo in /ms/wp-content/plugins/coursepress/languages and it seems to be working.

    I’ll have a deeper try…

    Thread Starter litbea

    (@litbea)

    I think it’s working but I have to point out some bugs regarding localization:

    • it seems like you’re using the word “enrol” in the POT file while “enroll” is used inside the templates.
    • the emplates are looking for ‘cp’ language template, while it shoud be ‘coursepress’ as your answered to another user some days ago.
    Thread Starter litbea

    (@litbea)

    There so many lines like this

    _e( “0 units in the course currently. Please check back later.”, “cp” );

    that should like

    _e( ‘0 units in the course currently. Please check back later.’, ‘coursepress’ );

    I think its difficult to justify buying the plugin if so many templates are needed to be verified by us.

    Hey there litbea,

    Hope you’re well today 🙂

    Glad you managed to figure that out, this was replaced in one of the recent updates for the plugin as you could probably see by my response in the other thread.

    I notified our developer for some feedback on this one and I’ll post here as soon as I have any information.

    Best regards,
    Bojan

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

The topic ‘Where to put .PO/.MO files?’ is closed to new replies.