Show Sidebar Log in
Commons In A Box Logo
  • Home
  • About
    • Project Team
    • Logos and Graphics
  • Showcase
    • CBOX Classic Showcase
    • CBOX OpenLab Showcase
  • Demo
  • Get Started
  • Documentation
    • Technical Guide
    • CBOX Classic Guide
    • CBOX OpenLab Guide
  • Support Forums
    • CBOX Classic
    • CBOX OpenLab
    • Developers Forum
  • News

Group Admins

  • Profile picture of Scott Voth

CBOX OpenLab Support

Public Group active 1 year, 1 month ago

Have a question about Commons In A Box OpenLab, our new platform for open learning? Join the group and post your question here. Register for an account or log in to commonsinabox.org, then join the group and post your question here.

What is the correct way to translate all CBOX OpenLab texts?

  • This topic has 5 replies, 4 voices, and was last updated 3 years, 6 months ago by Ray.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • October 15, 2021 at 12:13 pm #9052
    Kirsch Cobric
    Participant

    Hello, here again. I have been doing translation work progressively. I have noticed that buddy press brings some translations into Spanish, but not all of them are listed. On the other hand, the section for groups configuration is clear, although some elements of the interface are not visible in this list, therefore I cannot translate them there.

    Texts like “My profile” and all the drop-down list, the texts of the login box and the bar “YOU ARE HERE / HOME” have not been translated automatically, so I would like to know what is the correct way to do the translation of menus and other sections in CBOX that are not covered by budyprees or groups.

    Thanks.

    October 15, 2021 at 2:29 pm #9058
    Ray
    Keymaster

    Hi Kirsch,

    The text strings you mentioned like “You are here” are a part of CBOX, not BuddyPress.

    How are you doing the translations at the moment? If you are translating with help from a plugin like Loco Translate, you’ll need to translate for the commons-in-a-box textdomain as well.

    You can also help out with the Spanish translation for CBOX over at translate.wordpress.org: https://translate.wordpress.org/projects/wp-plugins/commons-in-a-box/

    You will need a wordpress.org account in order to contribute. More info can be found here: https://make.wordpress.org/polyglots/handbook/translating/glotpress-translate-wordpress-org/.

    When the translation is at 90% for a specific language, I believe WordPress will send the translation out. I don’t quite remember the entire process. @cbox_admin can probably fill in the gaps.

    October 15, 2021 at 5:29 pm #9060
    Boone Gorges
    Keymaster

    Thanks for the ping. @r-a-y is correct that the best way to contribute translations is through https://translate.wordpress.org. The Getting Started section in the handbook is a good place to start https://make.wordpress.org/polyglots/handbook/translating/glotpress-translate-wordpress-org/#getting-started

    After submitting translated strings, one of the language editors must approve them before they’ll count toward the 90% threshold. I’m not sure how this process works inside the translation team. https://make.wordpress.org/polyglots/ might be a good resource.

    November 4, 2021 at 4:53 pm #9090
    Ray
    Keymaster

    There was a new forum topic about customizing various strings in CBOX:
    https://commonsinabox.org/groups/openlab-help-support/forum/topic/how-to-update-cbox-ol-wording/

    So I thought I would take a closer look at the Loco Translate plugin.

    Loco Translate works quite well, but there is currently a bug in CBOX that prevents Loco Translate from loading their custom translations: https://github.com/cuny-academic-commons/commons-in-a-box/issues/374

    In the meantime, before the next CBOX release, you will need to manually replace the /wp-content/plugins/commons-in-a-box/loader.php file with this one:
    https://raw.githubusercontent.com/cuny-academic-commons/commons-in-a-box/1.3.x/loader.php

    Then you can use Loco Translate to modify the various strings for the commons-in-a-box plugin and they should be applied across your CBOX site.

    If you need a guide to use Loco Translate, check out:
    https://localise.biz/wordpress/plugin/beginners

    The guide references translating a theme, but you can use the same approach to plugins. If you need any further help, feel free to reply to this thread.

    November 8, 2021 at 3:04 pm #9092
    S.G.
    Participant

    Thanks, @r-a-y! Follow-up question:

    Chris says “It looks like the Openlab-Theme does not have a POT file. We would have to generate one to use Loco Translate. Does a POT file exist for the OpenLab theme? Is this something that the CBOX-OL team could check if we attempted to generate it?”

    November 8, 2021 at 6:46 pm #9095
    Ray
    Keymaster

    The OpenLab theme’s strings are covered by the commons-in-a-box plugin, so you only need to translate the strings from the commons-in-a-box plugin.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In
Group logo of CBOX OpenLab Support
  • Home
  • Forum
  • Announcements
  • Docs
  • Members 22
  • Send Invites

Groups

Newest | Active | Popular | Alphabetical
  • Group logo of CBOX Classic Support
    CBOX Classic Support
    287 members
  • Group logo of CBOX Pioneers
    CBOX Pioneers
    71 members
  • Group logo of CBOX Developers
    CBOX Developers
    40 members
  • Group logo of CBOX OpenLab Support
    CBOX OpenLab Support
    22 members
  • Group logo of CBOX-OL Testing Partners
    CBOX-OL Testing Partners
    12 members

CBOX has its roots in the CUNY Academic Commons, which in turn was made possible through funding from The City University of New York itself.

CUNY Logo

CUNY Academic Commons Logo

City Tech logo

The Commons In A Box was made possible through the generous support of the Alfred P. Sloan Foundation.

Alfred P. Sloan Foundation Logo

NEH Logo

The CUNY Graduate Center has directly contributed to the CUNY Academic Commons, housing the project since its inception, and has contributed to CBOX through its GC Digital Initiatives.

CUNY Graduate Center Logo

CUNY Graduate Center Digital Initiatives Logo

Powered by Commons In A Box
css.php
Skip to toolbar
  • About WordPress
    • WordPress.org
    • Documentation
    • Learn WordPress
    • Support
    • Feedback
  • Log In
  • Register