Pieterjan Deneys
Pieterjan Deneys
Alright, after some testing... I think I tracked the issue down.  I works fine on a lot of plugins but I seem to notice that it fails on premium...
Maybe unrelated but now I see the version number showing up fine in the "WP updated plugin" notification but it breaks on the changelog entry... Is this a related bug/issue...
The issue happens here: https://github.com/Mte90/GlotDict/blob/f91d18f97c4ea0b89b82016b85d51003c9548cf9/js/glotdict-functions.js#L102
The "/default" should be a variable where it's standard "default" but when it's formal, it should change into formal... If only I could code that.
Yeah, since we start from there in most cases right...?
The only moment I can see this break (your suggestion) if you don't start from that page with the dropdown but start from a bookmark/link directly from the translation page
https://translate.wordpress.org/projects/wp-plugins/woocommerce/stable/nl/formal/ If you directly go to that link ... Now, I noticed something... If you change "projects/wp-plugins/woocommerce/stable" with "locale" you go to the right page... Maybe you can do something...
I don't know php/js at all ... but can't you take the current url and change it...? It's always going to have the locale at the end there... so couldn't...
Alright! If I can be of any help researching this... Give me a shout, willing to help :D
I think we should reopen this since  Import translations has a missing one. @vlad-timotei