Need to change "Course" to "Lessons"

Support Forums for LiveMesh Themes & Plugins Forums Invent Theme Support Need to change "Course" to "Lessons"

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #14949

    Hi,

    We need to change the word “course” to “lessons” so it reflects in both the dashboard backend and on the frontend of the site.

    http://snaresbrook.wpengine.com

    How can we do that?

    #14961
    Veena
    Moderator

    You can learn from http://www.solostream.com/blog/tutorials/translate-wordpress-theme/ about translating your site into your language. Pls make sure you add the entry for your language into wp-config.php file like this –

    define ('WPLANG', 'fr_FR');
    

    Pls use the pot files in ‘invent/languages’ folder as a template to create .po files.http://www.poedit.net/ -Poedit is the popular free editor for creating .po and the corresponding binary .mo files.
    You may need to do an update in POEdit to see all the strings.

    #14962

    HUH?

    I don’t think you understood my question at all. This isn’t a language translation. Both of those words are english. I’m asking how we change the word course to lesson in the theme. Not all schools use the word course and ours wants to change it to lessons.

    Thanks.

    #14973
    Raghavendra
    Moderator

    Translation is a good way to go about this if you do not want to modify the source code and maintain compatibility with latest version of the theme. You just use en_US.po file to translate (in your case, that amounts to renaming since the language is the same) the strings.

    If you need to modify the source code and change the strings manually, you can have a look at the line number 103 to 146 of framework/presentation/custom-post-types.php file.

    #14980

    There’s no en_US.po file in this theme. At least not that I can find.

    I tried the manual change and it that did was break the site.

    #15025
    Veena
    Moderator
    This reply has been marked as private.
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Invent Theme Support’ is closed to new topics and replies.