ypeynaud
Forum Replies Created
-
Hi @chrystl,
Some of the custom fields I have to translate are in my theme text domain name. Others are part of the Formidable form plugin (inside the Views which are custom posts).
Forum: Plugins
In reply to: [Polylang] Parameters not taken into account in Polylang menu switcherThanks @chrysti. I made it working with the following code:
//****************************************************************************************************** //*** Keep query string parameters in Polylang translated urls //****************************************************************************************************** add_filter('pll_translation_url', 'keep_params_in_pll_translated_urls', 10, 2); function keep_params_in_pll_translated_urls($url, $lang) { $query_string = $_SERVER['QUERY_STRING']; if ( $query_string ) $url .= '?' . $query_string; return $url; }However I wonder why it is not the default behavior in PLL…
Cheers,
Yves.Thanks, but the synchronization is unchecked, and the values to be translated do not appear in the Polylang strings.
That’s the problem I am mentioning and for which I am looking for a workaround.
Yves.
Forum: Plugins
In reply to: [Polylang] Getting different page translations from a single URLFor anyone interested by my initial question, I just discovered this tread which gives the full dimension of the problem I addressed (and also a workaround worth testing).
Forum: Plugins
In reply to: [Polylang] Getting different page translations from a single URLRachel, you might prefer this code, more compact and flexible if you further want to increase the number of languages:
<?php echo '<a href="' . get_permalink( pll_get_post (6668) . '">' . esc_html__( 'acupuncture', 'your_text_domain' ) . '</a>'; ?>Cheers,
Yves.Forum: Plugins
In reply to: [Polylang] Getting different page translations from a single URLHello Rachel,
In your case, your link is hardcoded to your english page (you have the /en/ slug embedded in your url). So you have no chance to go to Spanish.
I see two solutions for your footer:
- either you use some php code for retrieving the id of the correct page depending on the current language.
- or you define a Spanish menu which is different to the English menu and includes the correct Spanish urls, and you insert the menus in your footer. This possibility may depend on your theme.
And regarding my question, I am afraid I have the answer: a given page is assigned a language so it can’t display the content in several languages. Actually the Buddypress example is different as these are not real pages.
Hope this helps,
Yves.@imath
You really got me wrong: I was asking (some tips, indications…), not requesting. And very politely, read my threads again. My apologies if I have hurt you. I should have written in French, it would have been more subtle 😉
And yes, I’m disappointed that you didn’t answer to questions about your great plugin. I tried myself to contribute, as you saw.
Regarding my question, sorry that it was not clear. My English again. Your choice is to release your plugin as free, but tell me if by chance you would consider making specific developments for a fee.
No offense to you I hope !
Cheers,
Yves.Forum: Plugins
In reply to: [Polylang] Getting different page translations from a single URLOK, no response, so maybe I was unclear in expressing my problem, sorry. :/
So let’s try it differently. Fundamentally, my question is:
could a given page (with a given single id) can display its content indifferently in several languages provided that all its content is php-generated with proper esc_html__(‘string’, ‘text-domain’) calls and that all traductions are provided in .mo files?
Thanks in advance anybody for your response! I really need to know if Polylang is the right plugin or not for my site.
Yves.Forum: Plugins
In reply to: [Timeline Express] Timeline Express not compatible with WP 4.3.1?Thanks Evan for your answer, but since I was stuck, I had to find another solution sooner so I switched to a different plugin (WP Latest Posts).
Cheers,
Yves.Hello,
Is there any chance I could get some tips to answer my question? If no, could you please just tell me? I can understand this plugin is no longer your priority, it would greatly help to clarify.
Thanks,
Yves.Forum: Plugins
In reply to: [Rendez Vous] Needs to be updated to 4.3.1 :(Hello ulyssessouza,
I run myself WP 4.3.1 and Rendez-vous works quite well.
There is not so many back-end settings in this plugin. Only a new tab in Settings/Buddypress, to select some types of Rendez-Vous.
Otherwise, everything happens in the Buddypress front-end profiles, with a new set of Tabs called Rendez-vous. You can schedule or attend Rendez-vous there.
Hope this helps you, because unfortunately, iMath seems to have vanished. We and several other users have asked for questions several weeks ago without any feedback. It’s a pity because this plugin is useful and well done, but no support at all makes it difficult to use…
Cheers,
Yves.Forum: Plugins
In reply to: [Timeline Express] Looking for immediate support?Thanks Evan, done!
Forum: Plugins
In reply to: [Timeline Express] Looking for immediate support?Hi Evan,
Since I get no answer to my question on this forum, I tried to register on your site but I’m still unable to log-in. So, no way to get in touch with you to investigate my issues with the free version and see if I buy your pro version or not.
Thanks for telling me what to do.
Best,
Yves.Forum: Plugins
In reply to: [Timeline Express] Images don't showI have exactly the same problem, among others stated in another thread 🙁
Forum: Plugins
In reply to: [Login for Google Apps] Problem: incompatibility with "Theme My Login"I agree that TML is difficult to integrate with other plugins, and on my side I no longer use it for this reason.