Home › Forums › Calendar Products › Events Calendar PRO › Links messed up with italian language
- This topic has 17 replies, 4 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
February 2, 2012 at 2:01 am #14577
Marco
MemberHi all,
it seems there is an issue with links using a language different from english.
teamworld.it/eventi-e-concerti/ex: link for a venue is teamworld.it/Locale/palaolimpico-2/
The same problem with prev/post events, calendar view and so on.Thanks in advance
February 2, 2012 at 5:46 pm #14613Rob
MemberHey Marco. I’m not quite sure I understand the problem you’re having. Can you elaborate a bit? Are you using your own translation files, or ones that came with the plugin itself?
February 3, 2012 at 12:23 am #14634Marco
MemberHi Rob, I’m using a clean installation of the plugin with the provided italian language. WP default language is it_IT.
It seems that the translation translates also permalinks (venues become “Locali”, “month” (link to calendar view) become “mese”, “past” (link to previous events) become “passato” etc.
Permalinks translation is a good thing but it broke most links of the plugin 🙁
ByeFebruary 3, 2012 at 9:23 am #14649Rob
MemberAh, I see. Thanks for confirming – I’m not sure what the issue here would be since we have tons of users running the plugin in different languages, and by and large they haven’t reported any bad experience. Have you tried opening the language file, modifying it a bit and seeing if your changes take? Does this happen if you use another, non-Italian translation file? I realize that you wouldn’t want to do so permanently; this would just be to test, as I’m unable to recreate this problem on my end.
Let me know if not and I can get a dev to take a look here. Apologies for the inconvenience in the interim.
February 4, 2012 at 2:26 am #14689Marco
MemberSame issue with spanish language.
Tried to modify lang file with no results.
Tried to disable plugins like YOAST, CodeStyling Localization etc with no results. I can’t try to change template because site is online and I have not a dev area. With english language, plugin works like a charm.I’ve noticed 2 different type of issue:
1) older events list link: http://www.teamworld.it/eventi-e-concerti/passato/ > 404. Changing manually the url in http://www.teamworld.it/eventi-e-concerti/past/ page is OK
2) Venue link: http://www.teamworld.it/Locale/palaolimpico-2/ > 404 error. Changing manually the url in http://www.teamworld.it/venue/palaolimpico-2/, page redirects again to http://www.teamworld.it/Locale/palaolimpico-2/ > 404 error.Bye
February 6, 2012 at 8:42 pm #14761Rob
MemberThanks Marco. I’m going to get a dev to chime in here and respond accordingly, since I’m at a loss as to what could be causing this. We’ll do what we can to work through it with you for a resolution though.
February 7, 2012 at 2:03 am #14784Marco
MemberOK, let me know if you need ftp/admin access to our site.
February 7, 2012 at 12:25 pm #14806Rob
MemberWill do – we shouldn’t at this point, but when the dev takes a look this afternoon or tomorrow they may request as much. Nothing needed yet though.
February 7, 2012 at 6:17 pm #14835Rob
MemberHey Marco. Talked this over with a member of our dev team, and it sounds similar to an event we recently hotfixed for another user (see: http://wordpress.org/support/topic/plugin-the-events-calendar-language-problem-url-french).
First thing to try is flushing your permalinks (just go to Settings -> Permalinks and hit save; no need to change anything). See if that fixes it. If not, shoot me an email (rob at tri.be) and I’ll get you the hotfixed code that should resolve this issue. If you indeed do install that new code you’ll also want to flush your permalinks after activating, before you run the actual test. Let us know what that yields and we can keep looking into it as needed.
February 8, 2012 at 8:04 am #14853Marco
MemberFlushing the permalinks didn’t solve the problem.
I’ll write you an email for the new code 😉
ThanksFebruary 8, 2012 at 7:02 pm #14892Rob
MemberSounds good, Marco. After giving the new code a go please respond here in the thread (rather than via email) so other users who have similar problems can benefit from our exchange. Thanks!
February 9, 2012 at 7:56 am #14918Marco
MemberRob,
I’ve installed the updated plugin, I’ve flushed my permalinks but with no results.Maybe I have to update something in /the-event-calendar-pro/ dir?
February 9, 2012 at 11:36 am #14937Rob
MemberHey Marco. I’ll get Nick, our dev who has been troubleshooting this issue, to respond directly.
February 9, 2012 at 1:15 pm #14959Nick Ciske
ParticipantMarco,
I was able to replicate the issues you’re seeing above after changing the language on my test install (running the same code Rob sent you) until I rebuilt/flushed my permalinks. After that, /passato/, /mese/, and /locale/ all worked fine (as I suspected as the English permalinks are working for you… because those were built before the language was changed/patched code was installed).
If saving your permalinks is not causing them to be flushed, you can try:
Deactivating and reactivating the Events plugin (the free one, not PRO).
Adding this to functions.php:
global $wp_rewrite;
$wp_rewrite->flush_rules();Make sure you remove that after it’s working or you’ll flush your rules on every load, which will really slow down your site.
PS- ‘upcoming’ is empty in the Italian language files, so it’s not being translated. The rest are, so they are being translated. It threw me for a bit, so I wanted to note it here.
Rob- we will probably want to address that in the 1.2 language updates, unless that’s correct? Google Translate says ‘imminenti’ but that may be way off.
February 10, 2012 at 12:51 am #14980Marco
MemberYou rock Nick!
Deactivating & reactivating didn’t flush my permalinks.
But adding the 2 line of code in functions.php, yes!Now all it’s OK.
I think that it’s better to translate “upcoming events” in “prossimi eventi”.Thanks for the help Rob&Nick
-
AuthorPosts
- The topic ‘Links messed up with italian language’ is closed to new replies.
