change a word

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #12275
    ssp
    Participant

    Hi,
    On the classes page, i would like to change the words Characteristics ans related classes for other words(they need to be in french). How can i do it?
    thanks

    #12278
    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 ‘fitpro/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 need to do an update in POEdit to see all the strings.

    https://www.youtube.com/watch?v=1xqcxncNmT0

    #12287
    ssp
    Participant

    ok thanks, but in POEdit i don’t see the words I want to translate…

    #12289
    ssp
    Participant

    Is there a place where I can just change the words?
    thanks

    #12299
    Veena
    Moderator

    It should be there in the poedit.You have to do an update(hit update button on the top) in POEdit to see all the strings.

    If you want to change directly in the theme file, you can change the strings in line no:91 and 158 of file single-fitness_class.php.

    #12304
    ssp
    Participant

    Thank you so much for your help. I didn’t find the update button in Poedit, but I was able to change it directly in the theme file.
    One last question, how can I get rid of the breadcrumb on that same page (single class page)

    #12309
    Veena
    Moderator

    Pls include this custom CSS in themeoptions –

    .single-fitness_class div#breadcrumbs {
    display: none;
    }
    
    #12320
    ssp
    Participant

    Sorry, I have 2 more questions
    On that page
    http://centresportifrosemere.ca/accueil/le-gym/services/
    IN the first section (features) I would like to remove the links, I would like to only have the round images, I don’t need them to be linked to another page.

    Also in the fitness classes section, once again I want to change “view details”, where can I change it?
    Thanks

    #12329
    Veena
    Moderator

    You can use the below custom CSS in themeoptions –

    div#features .entry-snippet {
    pointer-events: none;
    }
    

    You can always use translation tool(Po edit) for changing strings in to your language.It is a safe way of doing instead of directly changing it in themefiles.
    Anyway you can change the string in file framework/functions/post-functions.php at line no:664.

    #12360
    ssp
    Participant

    Hi,
    I know it would be better to do it in Poedit, but I can’t find out how to update the .pot file. I tried and the strings I was looking for wasn’t there…

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘change a word’ is closed to new replies.