WordPress.org

Forums

Google Language Translator
resize translated text (2 posts)

  1. matthull
    Member
    Posted 1 year 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 1 year 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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Language Translator
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic