Forum Replies Created
-
AuthorPosts
-
June 4, 2013 at 3:50 am in reply to: Community Events problem with urls in multilingual website #50465
Evangelia
ParticipantWhen is the 3.0 release scheduled? Any time estimate for the integration efforts with WPML?
I believe that I have come really close to solving this issue, all I need is a small push from your side to get things rolling?
Don’t you have any workarounds before you “officially” try to tackle the issues with WPML?June 3, 2013 at 12:01 pm in reply to: Community Events problem with urls in multilingual website #50415Evangelia
ParticipantAnother update is that I contacted the WPML team about the issues and they just informed me that they are contacting you to cooperate in investigating the compatibility issues.
I hope you do want to dedicate the effort to sort things out, I believe it will significantly add value to your plugin.Thanks!
June 3, 2013 at 11:15 am in reply to: Community Events problem with urls in multilingual website #50408Evangelia
ParticipantFYI, this is the debug version of the page_callback that I am using for test purposes
http://pastebin.com/mJiUAeznJune 3, 2013 at 11:13 am in reply to: Community Events problem with urls in multilingual website #50406Evangelia
ParticipantHi Barry,
please find my code for the routing of the event creation in english here:
http://pastebin.com/H63LdQqpNothing special, it is almost the same code that you use to parse the normal ‘Add an Event’ url i.e. mydomain/events/community/add,
apart from the fact that I try to parse the language part of the url
i.e. mydomain/en/events/community/add.I realized that the page_callback (addCallback) is not executed in my routing, because I slightly modified the callback to echo a debug message.
I had that message echoed when running the default url, but I am stuck with 404 when running the english version. I guess this means that the callback is not triggered in this case.You can test the situation for yourself on my development site http://www.kellydamalou.eu
Thank you for your help!
KellyEvangelia
ParticipantHi Leah!
Thanks for your response, sorry I took me so long to get back. In the meantime I have read all related resources available on the Internet and renewed my subscription to post to the Pro Forum.
I had no luck so far…
I will try to update to the latest version of TEC as you suggest and see if things improve.Thanks a lot for the support!
KellyJune 3, 2013 at 9:47 am in reply to: Community Events problem with urls in multilingual website #50388Evangelia
ParticipantYes, I have flushed my permalinks several times, after each route update, but unfortunately made no difference…
The only thing I can tell is that the page_callback of my new routing rule seems not to be triggered.
Any ideas?June 3, 2013 at 8:25 am in reply to: Community Events problem with urls in multilingual website #50381Evangelia
ParticipantHi Barry!
I have not tried WPLM support yet, but I have digged into the TEC code and found the WP_router add_route functions that handle routing for the custom TEC urls (events/community/add).
I added a new route to handle the path for the english event creation (i.e. en/events/community/add), but something is wrong and I cannot be redirected to the New Event form in English, I get a 404 page instead.
I have read all thread related to WPML in your forum, but nobody mentions TEC.
I do not believe that what I am trying to do is exotic and I find it quite peculiar that nobody else encountered WPML-TEC compatibility issues.
Do you have any suggestions on what might be wrong with my routing rules?
I have used Rewrite Analyzer plugin and I am positive that my new rule is registered and correctly maps the en/events/community/add url.
Why do I get a 404 error page?BR,
KellyEvangelia
ParticipantHi, Leah!
Thanks for your prompt and honest response!
I see that several users of the Events Calendar report issues with WPML and I see that you have been investigating the situation for quite some time now. Is there any chance that if I renew and download the latest release, the plugins will cooperate better now?
I am currently running TEC 2.0.11 and Community Events 1.0.1.1.BR,
KellyEvangelia
ParticipantSorry, but it seems I cannot post in the support forum since my license has expired. And my question is: should I renew to solve my problem or it is quite irrelevant and there is no solution to my problem, so I should not mind renewing and stick with what works?
BR,
KellyEvangelia
ParticipantHi Rob, I will be patient then and wait for the patch. First week of June is not far 🙂
Thank you very much!Evangelia
ParticipantHi Hector, sorry for the late response, I did not check back the forum after Jonah’s reply.
I digged into the code a bit and found that the textdomain loaded is wrong, it is “tribe-community-events”, while the _ and _e functions are mostly called with the “tribe-events-community” domain (though there are references of tribe-community-events domain too).
I changed all domains to “tribe-events-community” in my code, but the plugin still does not load the translation file…
Should I deactivate and then reactivate it?
Any other ideas?Evangelia
ParticipantHi Jonah,
I have not changed my language in wp-config, what I am doing until now with my theme lang files is translate in Greek, but save them as en_US.po and en_US.mo and it works.
This is what I tried to do with the plugin lang file too i.e. saved the file as tribe-community-events-en_US.mo
tribe-community-events-en_US.po
Sounds weird? You suggest I follow the “official” path with the wp-config, right? -
AuthorPosts
