Slug issue when switching between list and month.

Home Forums Calendar Products Events Calendar PRO Slug issue when switching between list and month.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1316277
    Ulf
    Participant

    Hi,

    I am experience a strange problem when switching between list and month view using the tribe top bar.
    The slug gets translated (to local language) instead of using events/month/ and events/list/ .
    month and list slug is working correctly but the translated ones is not.

    I am not using WPML.

    Thanks,

    #1316821
    Ulf
    Participant

    Could it be connected to the translation files that comes with the event calendar?
    It sometimes also happens when I just reload the page.
    If I am located at /events/month/ it sometimes redirects to events/månad/ which is the swedish translation.

    I also noticed language problems when displaying the month headers in the list view.
    First time a load the list view they are displayed in swedish if I then select a date and the page reloads they are displayed in english.

    As I said previously I am only interested in using one language. Is there a way to remove all other lang files then the swedish one?

    • This reply was modified 8 years, 9 months ago by Ulf.
    #1316827
    Ulf
    Participant

    After some more investigation I noticed that the slug changes(from english to swedish) as soon as either select a new date or apply any filter. That’s why I thought that it was happening on reload but the url had already changed and when hitting refresh it tried to load the swedish slug which does not work.

    #1317253
    Geoff B.
    Member

    Good evening Ulf and welcome back!

    Thank you for reaching out to us.

    We are sorry to hear about the language issues you are experiencing.
    I would love to help you with this topic.

    As a first troubleshooting step, could you please provide us with your complete system information in a private reply using the instructions found in the following link?

    https://theeventscalendar.com/knowledgebase/sharing-sys-info/

    Once I see how you are setup, I will be able to know more.

    In the meantime, I would recommend re-saving your permalinks and temporarily clearing and deactivating all caching plugins you might have.

    Hang in there!

    Geoff B.

    #1317294
    Ulf
    Participant

    This reply is private.

    • This reply was modified 8 years, 9 months ago by Ulf.
    #1317795
    Geoff B.
    Member

    Good evening Ulf,

    Thank you for writing back and for the info.
    As you suggested, based on your specific issue, you might want to make sure that the slugs for the different views do not get translated (month, list, photo, map, day, week, all).

    I highly recommend reading the 3 following articles on translation:

    That should enable you to adjust your language files to prevent slug translation.
    Make sure you update the language files for both the Events Calendar and the Events Calendar Pro.

    As I said previously I am only interested in using one language. Is there a way to remove all other lang files then the swedish one?

    Even if you removed all other language files, the default will always revert back to english.

    One way around that would be to create fake en_US.po and en_US.mo language files that are in reality copies of the swedish language files.

    That would “trick the system”.

    Let me know if that helps.

    Have a great day!

    Geoff B.

     

    #1327936
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Slug issue when switching between list and month.’ is closed to new replies.