Calendar module and language?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pmquist
    Senior Member
    • Jan 2006
    • 232
    • 5.7.X

    Calendar module and language?

    I am about to start using the events module and present the events in the calendar module. However I cant find any phrases to translate for the day of weeks and short for months. It seems like some phrases translates, but not all.

    Is this a bug or am I missing something here?

    Click image for larger version

Name:	2018-08-20_14-54-24.png
Views:	35
Size:	44.4 KB
ID:	4396768

    Click image for larger version

Name:	2018-08-20_14-39-09.png
Views:	31
Size:	166.0 KB
ID:	4396769
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24286
    • 6.0.X

    #2
    The phrases for the short month are called 'month_short'.

    For example August is august_short.

    Same thing applies to the days of the week, eg monday_short.

    I'm not sure what the down pointing arrow is referring to....event titles won't be translated though.
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment

    • Wayne Luke
      vBulletin Technical Support Lead
      • Aug 2000
      • 73976

      #3
      You will also want to set an appropriate locale and fill out the variables under Languages & Phrases -> Language Manager.
      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud demonstration site.
      vBulletin 5 API

      Comment

      • pmquist
        Senior Member
        • Jan 2006
        • 232
        • 5.7.X

        #4
        It worked with weekdays to solve them.

        However months will not show the swedish phrases. Thats why I never got to weekdays earlier because I had already translated months and it did not work. I have cleared cache on both site and in browser and it shows the english phrase.

        The down pointing arrow is because it is showing the 12:hour time instead of the 24:hour i am using in my settings

        Comment

        • pmquist
          Senior Member
          • Jan 2006
          • 232
          • 5.7.X

          #5
          Also: The calendar shows a week starting with sunday when not logged in. Is there a way to make a global setting that changes it so week starts on a monday?

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 73976

            #6
            There is no option to set this default at this time. You would have to manually modify the database so the default value of user.startofweek is 2.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API

            Comment

            • pmquist
              Senior Member
              • Jan 2006
              • 232
              • 5.7.X

              #7
              I found a thread about that earlier and have changed the user.startofweek. But I guess since no one is logged in there is some other setting as well somewhere? If so is the case, is it possible to change that in the database or is it hard coded?

              Comment

              Related Topics

              Collapse

              Working...