WordPress.org

Ready to get started?Download WordPress

Forums

Multisite Language Switcher
[resolved] 'hint for available translations' not localized (7 posts)

  1. meltcore
    Member
    Posted 2 years ago #

    Hello,

    On my setup the "hint for available translations" (from the checkbox in the settings menu) is always displaying "This post is also available in" in English.

    I suppose the intended behavior is to be displayed either in the translation language or the original.

    Is this a known issue?

    http://wordpress.org/extend/plugins/multisite-language-switcher/

  2. realloc
    Member
    Plugin Author

    Posted 2 years ago #

    Yes I know this and it will be corrected quickly. There was no issue submitted so I made this for not forgetting it: https://github.com/lloc/Multisite-Language-Switcher/issues/30

  3. realloc
    Member
    Plugin Author

    Posted 2 years ago #

    The development version has already a solution for this issue.

  4. astrobola
    Member
    Posted 1 year ago #

    Oh, I'm just writing about this.
    In my spanish site it shows:
    Esta entrada está también disponible en English.
    Indeed, for the english visitors, it should show:
    This post is also available in English.
    (and the reverse is true, also)

  5. realloc
    Member
    Plugin Author

    Posted 1 year ago #

    I think this is a point of view. What do you do if you have more then 2 websites in different languages. I know that the current solution is not optimal ... it's great that you share your ideas.

    You can of course create your own filter for 'the_content' which returns what you want to show. Please read on here: https://github.com/lloc/Multisite-Language-Switcher/wiki/Get-the-current-language

  6. astrobola
    Member
    Posted 1 year ago #

    What I want to say, is that if there is an english translation, it should say: "This post is also available in English" regardless of the post's language (and the system language of the visitor), so if an english speaker visit the site, he can understand the message, (as it's for him, not for the spanish speakers visitors).
    Maybe it is not very important with english, but if you find a post in ukrainian, you will not understand de ukrainian equivalent to "This post is also available in English", what makes it useless.
    I understand the problem with more than 2 languages... maybe this is the situation where the visitor's system language detection could be usefull. Or a configurable prefered language selection.
    I'll continue studying the behavior of your plugin, is very complex and interesting. Thanks.

  7. realloc
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, for sure.

    I try to keep the plugin as simple as possible. This is also the reason why I don't use JavaScript here for example.

    But this is a very interesting hint anyway.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic