Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Jon Hardison

    (@jonhardison)

    Please disregard. Thank you.

    Why disregard?

    I see this issue with the version I just downloaded.

    https://[sitename]/wordpress/wp-content/plugins/complete-language-switch/flags/us.png

    is the url of the American Flag.

    http:/[sitename]/wordpress/wp-content/plugins/complete-language-switcher/flags/us.png

    is the url the plugin is trying to use. It appears the author has created confusion for himself by naming the plugin’s directory similar, but not exactly the same as the plugin name, and then forgetting this.

    When I manually fix this (includes/output.php line27), I get gigantic flag images. This is due to the fact that I added the switcher to the header, inside the #branding tag, and they trigger the width:100% property of #branding img in the twentyeleven stlyesheet.

    Additionally, the plugin assumes the blog is situated at the server root, which is not ideal in all cases and certainly a mis-feature for development. This can be corrected by modifying line20 of output.php:

    <a href="'.get_bloginfo("url").'/?setlang='.$locale.'"';

    I recommend fixing both those lines in output.php, and also adding explicit styles for included images.

    Are we finished yet? Nope. I now found my page routing to be completely gorked, and could not access the ‘sample page’. (all this was performed on a clean WordPress install as of Apr 2012). Which sounds a bit like the other issue on this forum.

    Regardless, what I was actually looking for is a plugin that can switch between different languages (xili-language plugin) whilst on the single post page, which this plugin does not seem to do – instead redirecting me to (an albeit correctly filtered) blog root page. Anyone know a good way of implementing that?`

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Complete Language Switcher] Flags are failing to load’ is closed to new replies.