Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #38189
    Profile photo of biedermann
    biedermann
    Participant

    Hello,

    I want to translate the word „license“ postioned on the right at a choosen foto with the pulldown menu to choose a license into the german word „Lizenz“.

    How can I fix the issue? Symbiostock has noch files to translate the word in the backend with e.g. Loco Translate.

    My website: https://www.fotos-schmie.de.

    Regards and a happy New Year!

    Thobie

    #38196
    Profile photo of biedermann
    biedermann
    Participant

    Hello,

    has nobody an idea?

    Regards

    Thobie

    #38234
    Profile photo of Robin
    Robin
    Keymaster

    Hi there,

    At the current time, if you are using your own theme for Symbiostock, you may have to just use some Javascript to alter the way it looks on the front end as the word ‘license’ is built into Symbiostock. Apologize about the inconvenience.

    Try this:

    
    
    <script>
    jQuery(document).load(function () {
    $( "label" ).each(function() {
      if( $( this ).html() == 'License') {
    $( this ).html('Lizenz');
    }
    });
    });
    </script>
    
    

    #38243
    Profile photo of biedermann
    biedermann
    Participant

    Hello, Robin,

    thank you for your answer.

    Where do I have to insert the JavaScript text in the theme?

    Regards

    Thobie

    #38247
    Profile photo of biedermann
    biedermann
    Participant

    Hello, Robin,

    I have installed two plugins for custom js and inserted the given js code into these plugins.

    Both does’t work.

    How can I insert the js code into the theme?

    Regards

    Thobie

    #38251
    Profile photo of biedermann
    biedermann
    Participant

    Hello,

    your code doesn’t work because I use the plugin jQuery because of problems with old js code in the new WordPress version.

    A user in a german WordPress forum has given me js code that I have inserted in the plugin Code Snippets.

    And this code works.

    The english word will be translated in the german word during the web side is displayed in the browser.

    Thank you. Issue fixed.

    Regards

    Thobie

    #38345
    Profile photo of Robin
    Robin
    Keymaster

    Hi there – this will also be rectified at the code level in the next release.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.