WordPress.org

Ready to get started?Download WordPress

Forums

Google Language Translator
resize translated text (2 posts)

  1. matthull
    Member
    Posted 3 months ago #

    When the text in my navigation is translated, on some languages the text goes over 2 lines. Is there any CSS class applied to the page for each language that I can use to resize the text. e.g "#french" "#german" "#polish"

    https://wordpress.org/plugins/google-language-translator/

  2. Rob Myrick
    Member
    Plugin Author

    Posted 2 months ago #

    Hi matthull, this is a great question - I don't know the answer to this.

    The fire event to translate languages goes something like this, for example, changing from English to Spanish:

    Function name is doGoogleLanguageTranslator('en|es');

    If you could somehow attach to that event and make CSS changes based on the event, I think it could work.

    Let me know if you find out more - I would love to help, but time is limited for me right now.

    Thanks! Rob

Reply

You must log in to post.

About this Plugin

About this Topic