New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conflict with Loco Translate plugin #2429
Comments
[from our slack conversation] |
Hey @eri-trabiccolo @dominiquemariano [As per our Slack conversation] I've tested the Loco translate with LifterLMS with both locations, i.e., Author: The Loco Translate is working perfectly. I've tried it with the language "Catalan", as the user did it. Let me know if there's some other use-case I should follow to reproduce the issue. |
hey @actuallyakash can you look furthermore into this? I can reproduce it, so if you can't it'd be interesting to understand under which conditions it doesn't happen. Thanks! |
hey @eri-trabiccolo I was able to reproduce the issue. Apologies, previously I used the wrong directory to save the translation files which was working fine. Let me know if this PR fix works in this case. |
It appears this is also fixed in #2593 |
Reproduction Steps
Loco Translate can't find the translation file when the user has selected the "custom" location.
https://share.getcloudapp.com/OAuoyPlm
Expected Behavior
Loco should be able to correctly localize LiterLMS picking the translation file from the selected custom location.
Actual Behavior
Loco Translate can't find the translation file when the user has selected the "custom" location.
Possible solution?
[from @dominiquemariano ]
When Loco Translate is installed, instead of looking at
wp-content/languages/lifterlms/lifterlms-en_US.mo
, we should look atwp-content/languages/loco/plugins/lifterlms-en_US.mo
when the user selects a "custom" locationSystem Information
This issue has been recreated:
Related User Information
https://wordpress.org/support/topic/loco-translate-not-working-as-expected/#post-16704935
The text was updated successfully, but these errors were encountered: