Code extraction don’t work in version 2 with injected textdomain
-
Hello,
I have problem with code extraction functionality in new version of this plugin.
It works perfectly, if I have textdomain as string in my l10n functions like__('Text','textdomain'). But in my plugin, I’d rather not have hardcoded textdomain all over my code, so I use for example:__('Text', $this->config->get('textdomain')). In this case, Loco is not able to extract those strings. It actually works with legacy version, but version 2 probably use some other logic to extract strings, which is not compatible with that.You can see more of this plugin on: https://github.com/jakub-klapka/wp-secure-post-with-link if it helps you. Also let me know, if I can help you in any way to fix this.
Thanks a lot for great plugin! Jakub
The topic ‘Code extraction don’t work in version 2 with injected textdomain’ is closed to new replies.