WordPress.org

Forums

WCM User Language Switcher
[resolved] Useless files (3 posts)

  1. Kerfred
    Member
    Posted 1 year ago #

    Hi,
    First thank you for this very useful plugin. I have tested others doing the same thing but yours is the best. It works without any warnings and does not create extra tables like other plugins.

    I just wanted to point out two things.

    1. There are some useless files in you zip package (.gitignore and assets/*). You should set a .gitattributes file to prevent them from archiving.

    2. I am using a French site, and when I activate the plugin, the English language is not displayed in the dropdown. To display English, I should first select «French» even if I am already in French. After that, it works perfectly.

    http://wordpress.org/plugins/wcm-user-language-switcher/

  2. Franz Josef Kaiser
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Kerfred,

    thanks for your nice works.

    About your points:

    1. I don't think that a .gitattributes file will prevent archiving as this repository here runs on SVN. We can't switch to Git for the repo (simply won't happen), but the plugin is hosted on GitHub as well (see description page and link there). The GitHub version has a composer.json file and if you're using composer, you can just use a post-install hook and empty the folder after pulling it in with rm -rf path/to/plugin/assets/* or something similar.

    2. This request is surely valid. But there're cons as well. I opened a GitHub issue to discuss this further. Please follow up there as it's much easier for us.

    Thanks!

  3. Franz Josef Kaiser
    Member
    Plugin Author

    Posted 1 year ago #

    Kerfred,

    we already fixed that on GitHub. Our assumption was that the default should be English. Now it defaults to whatever language you have set.

    A new version here on wp.org will follow soon.

    If you like the plugin, please consider leaving a review.

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WCM User Language Switcher
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.