Bug : Loco deletes source path portion thinking it is the same source
-
Hi there,
We have a problem setting up the advanced translation configuration with an extension called zionbuilder, whose pro version is provided as a second extension. The extension comes with pot files only and synchronizations are needed because these files are not quite up to date. But that’s not the point.
Here is what is happening.
Zionbuilder Classic is installed in a “zionbuilder” directory of the plugins directory of WordPress.
It has a namespace named “zionbuilder”. The configuration is quite simple and everything works; no problem.
Zionbuilder Pro is installed in a “zionbuilder-pro” directory of the WordPress plugins directory.
It has a first namespace named “zionbuilder-pro”. This first configuration is also quite simple and everything works for it; no problem.
But also, in Zionbuilder Pro there are strings to translate with the namespace “zionbuilder” already seen in the Classic extension.
We did the following:
In the advanced configuration of Zionbuilder Classic, add a set. And in “Source file paths” we put a relative path ‘../zionbuilder-pro/’ for testing.
After validation, Loco translate systematically rejects this relative path. It deletes the “zionbuilder” portion thinking it is the same source extension… It’s quite annoying, isn’t it?Is there a way to tell it not to delete this relative path?
On the other hand, if we create this same set on the Pro side, then there is a slight problem of naming and namespace overlay as the translations must absolutely land in the languages/plugins folder of WordPress to work properly… And either one overwrites the other, or the other overwrites the one ^^’
From my point of view, the first result is for us a Loco Translate bug because it deletes a portion of a legitimate path thinking it’s doing the right thing when it shouldn’t.
I hope I’ve been clear enough for you to help me.Thanks in advance.
- The topic ‘Bug : Loco deletes source path portion thinking it is the same source’ is closed to new replies.