Marcin Kazmierski
Forum Replies Created
-
Forum: Plugins
In reply to: [Theme and plugin translation for Polylang (TTfP)] Missing stringsThank you for code!
I found bug.
You didn’t add space between: “.” and “__(“.
I will fix it on this day or tomorrow ??Thank you for reporting the error.
Forum: Plugins
In reply to: [Theme and plugin translation for Polylang (TTfP)] Missing stringsAutomatically…
maybe there is a problem with the file encoding?Can you send me whole file with your texts?
Or how else can I check it?I need more information…
Forum: Plugins
In reply to: [Theme and plugin translation for Polylang (TTfP)] Missing stringsHi,
I checked this case, and look at this:
https://ibb.co/vqfsgCF
https://ibb.co/252hkvTIn my theme, your code work fine ??
What module version are you using?
Tests:
<div class="hlms-login-links"> <div class="hlms-login-link-item"> <a href="" class="hlms-link-create-account"><?php print __('Skapa konto', 'houdinilms'); ?></a> </div> <div class="hlms-login-link-item"> <a href="" class="hlms-link-retrieve-password"><?php print __('Gl?mt l?senord', 'houdinilms'); ?></a> </div> </div>
or
<?php $var = '<div class="hlms-login-links"> <div class="hlms-login-link-item"> <a href="" class="hlms-link-create-account">' . __('Skapa konto', 'houdinilms') . '</a> </div> <div class="hlms-login-link-item"> <a href="" class="hlms-link-retrieve-password">' . __('Gl?mt l?senord', 'houdinilms') . '</a> </div> </div>'; print $var;
Forum: Plugins
In reply to: [Theme and plugin translation for Polylang (TTfP)] Tag TranslationI’m closing the topic.
Forum: Plugins
In reply to: [Theme and plugin translation for Polylang (TTfP)] Strings TranslationHello,
It’s good idea!
Thanks for invitation!
I’ll join you.Regards
Forum: Plugins
In reply to: [Theme and plugin translation for Polylang (TTfP)] Tag TranslationHello,
In the last plugin update I added import and export feature:
https://www.ads-software.com/plugins/theme-translation-for-polylang/#developersYou can export translations to CSV file and import.
Unfortunately, I didn’t write export / import to the poedit program yet.
Regards.
Thank you for the suggestion ??
I think it’s possible. I think I have to handle the “gettext” wordpress filter by add_filter.
I will try to do it in my next free time!Regards.
Forum: Plugins
In reply to: [Theme and plugin translation for Polylang (TTfP)] Tag TranslationHello.
Not yet.
I am currently working on this functionality.Forum: Plugins
In reply to: [Theme and plugin translation for Polylang (TTfP)] Variable from PHP.Polylang function pll_e() do not support variables, only clear strings.
Forum: Plugins
In reply to: [Theme and plugin translation for Polylang (TTfP)] Variable from PHP.Hi,
it is not possible because the plugin has got a string scanner.
Scanner finds strings to translate in code of plugins or themes which are used in pll_e or pll__ functions.Forum: Reviews
In reply to: [Theme and plugin translation for Polylang (TTfP)] Ba?agan / MessJest ok?
A ocena na 1 gwiazdk? czym by?a spowodowana? Co? nie dzia?a w pluginie? Czy chodzi tylko o to, ?e si? opis rozjecha? a sama wtyczka dzia?a poprawnie?Forum: Reviews
In reply to: [Theme and plugin translation for Polylang (TTfP)] Ba?agan / MessOpis zosta? zaktualizowany:
https://www.ads-software.com/plugins/theme-translation-for-polylang/Forum: Reviews
In reply to: [Theme and plugin translation for Polylang (TTfP)] Ba?agan / Messwpml-config.xml dla polylang ?? powodzenia kolego – widz?, ?e u Ciebie te? niez?y chaos ??
A wracaj?c do formatowania opisu to tworzy?em tekst zanim wordpress zrobi? update zwi?zane ze sposobem prezentowania wtyczek na www.ads-software.com – nie zauwa?y?em, ?e po ich aktualizacjach mój opis si? rozjecha? – w najbli?szym czasie na pewno to poprawi?.
Forum: Reviews
In reply to: [Theme and plugin translation for Polylang (TTfP)] Ba?agan / MessSprecyzuj prosz? problem.
Tekst do t?umaczenia przepuszczasz przez wbudowane funkcje wtyczki polylang:
pll_e();
pll__();i tyle ??
https://polylang.wordpress.com/documentation/documentation-for-developers/functions-reference/
It is everything alright, right?