No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    where is $q.lang.getLocale getting the language from?

    Help
    2
    2
    230
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      Lou Rectoret last edited by

      I’m trying to figure out where’s the language taken from when using:
      $q.lang.getLocale()

      I’ve changed:

      • list item my Mac’s language and restarted

      • My browser’s language

      But still showing up: ‘ca-es’ (catalan)

      Any ideas?

      1 Reply Last reply Reply Quote 0
      • Allan-EN-GB
        Allan-EN-GB Admin last edited by

        This should help: https://github.com/quasarframework/quasar/blob/4691db529a1b4055b2c198888f6c9eb6f1fdf484/ui/src/lang.js#L54

        1 Reply Last reply Reply Quote 0
        • First post
          Last post