Aethon
Forum Replies Created
-
Here is a screen shot of all the place where I have added translations and yet NONE of them are changing the order of the french date.
I find a hundred different solutions and none are helping yet. ?? This is very confusing. Anything you can do would be helpful. I’m still looking and will keep you posted if I find anything in the meantime.
But still not working.. I’ll keep trying and let you know what I find out. If you have any advice as well, that would be great ??
I found in another place a missing step :
– Go to WPML > String Translation
– Scroll down to the bottom of the page and click “Translate texts in admin screens ?”
– Look for the string you want to translate “date_format”
– If you found the string you want to translate, Check the check-box beside it.
– Scroll down to the bottom of the page and click apply
– Go to WPML > String Translation
– Search for the string and translate it.And yes, I did enter that PHP code, so it should show up.
I can do this but when I look at String Translation, I can’t see Format in the pull down menu “Selected strings within context”.
So I can’t take the last step ??
Yeah.. wrap this one up ?? Thanks very much!
Hi Caroline, finally, I’m doing it with WPML.. seems like less trouble overall. ??
HOWEVER one big issue remains… I would have assumed that each language, in this case English and French, would have its own settings for date format.
English : January 1, 2017
French : 1 janvier 2017So if only one setting can apply, I’m stuck with one language displaying the date badly.
Any ideas on what I can do here?
Thanks for your help!
In src/Tribe/Main.php, you have :
public function get_i18n_strings( $strings, $languages, $domains = array(), $default_language = 'en_US' ) { $domains = wp_parse_args( $domains, array( 'default' => true, // Default doesn't need file path 'the-events-calendar' => $this->plugin_dir . 'lang/', ) );
This seems to be where the meat of the issue lies….
I see you have a lang folder with translations inside it. How can I manually force the french .po/.mo file to be called? That seems like it would be a simple thing….
Wow.. this all seems very complicated. It might be easier to install WPML. ??
But you mention your list widget? I’m not actually using that, but the shortcode and before I used that, I was using the Visual Composer insert.
Using the shortcode, I can select the categories of the events I want to show, so I can recreate an event in french and display it when the french page is selected.
The only missing piece is changing the dates so they show up in french instead of english. So 7 mars, 2017 instead of March 7, 2017.
I wonder where this is located… I guess I can look through your plugin files and see if I can modify this.
Sorry, I didn’t see your message when I sent my last post. I’ll go follow your advice and see what I can do. Thanks!
And may I say that from all the responses you give around here, you are a very busy woman! Thanks for your time!
OK… it was my fault and I’ve got it working correctly. I had entered in a custom must-use plugin with code to reverse the order in one instance where I listed all the events.
It wasn’t working before when I first set it up no matter what I did but now it seems to work just fine, so “my bad”.
Thanks for your time.
Now the only thing I have is on my other question in the forums about having a french version of the widget/shortcode on another page without using WPML. ??
Hi there and thanks for getting back to me.
The plugin version is : Version 4.4.1.1 (I believe the latest).
I’m going through the testing steps now and will let you know, however, I’m using the theme Creativo and I believe changing themes might screw things up. I’m going to back the site up first and then do this.
Forum: Plugins
In reply to: [Public Post Preview] Not working with Visual Composer masonry media gridI’m having the same problem and I seem to have enough memory etc. If you have found a solution, please let us know! Thanks!