Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #698340

    Hi – I would like to exclude word KAM from translation from text box which includes full text as:
    “KAM na hory”

    I was trying via adding in HTML editor of AVIA:
    <h4 style=”text-align: center;”><span class=””notranslate””><span style=”color: #ffffff;”>KAM</span><span class=””translate””> na hory</span></span></h4>

    Unfortunately this applies no translation for the whole text “KAM na hory”.
    Would you please be able to advise how to apply no translation only to word KAM (possibly only when used with capital letters specifically).
    KAM is the name of our organization, but unfortunately the word also translates to english from slovak language 9meaning “where”)..

    http://www.klubaktivnehomyslenia.sk

    Thanks a lot!
    Martin

    #698410

    Hi matelko2003!

    What if you change your code to following

    <h4 style="text-align: center;"><span style="color: #ffffff;"><span class="notranslate">KAM</span></span><span class="translate"> na hory</span></h4>

    let us know if that works out for you

    Regards,
    Basilis

    #698429

    hi Basilis
    unfortunately that didnt work, with your suggested code, again whole text block is not translated..
    (my aim is to not translate just a single word “KAM” within this 1 text block element..)
    Thanks
    Martin

    #699758

    Hi,

    Are you using a third party plugin? What’s it called? I tried to translate the page to another language but it’s not working.

    Best regards,
    Ismael

    #708456

    HI Ismael
    I am using plugin called “TranslateThis Button”.
    Once I activated this plugin, it is visible in Dashboard settings.
    Thanks a lot
    Martin

    #709375

    Hi,

    try to use a plugin like Loco Translate or Poedit, where you search for the translation already set and change it to KAM as you need it.

    Best regards,
    Andy

    #710875

    Hi there

    I have managed to exclude a specific single word (KAM) from translation on homepage text block via using HTML
    <span class=”notranslate”>KAM</span>

    However, now I am trying to figure out, how to do the same not within the text block, but within the page title – the aim is to exclude from translation just 1 specific word of the page title (page title itself consists of few words).
    Is there perhaps any way I could try to hard code this within theme files directly?
    In case of any ideas please do let me know.

    Thanks
    Martin

    #711251

    Hi,

    I don’t think this would be easily possible, cause the files are getting generated dynamically through php. Maybe there is a plugin with such a function and if not you would need to hire a freelance developer for this job.

    Best regards,
    Andy

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.