UVdesk

    • Register
    • Login
    • Search
    • Recent

    Solved Translation to Portuguese BR

    General Discussion
    2
    2
    648
    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.
    • P
      pedronapoleaojr last edited by

      Does anyone know how I can translate the system to portuguese br?

      1 Reply Last reply Reply Quote 0
      • Sanjeev
        Sanjeev developer UVdesk Staff mod last edited by

        @pedronapoleaojr
        You need to add a translation file here for your language
        (If It does not  already exist for your language).

        For Example: We have added messages.en.yml for english here.

        https://s3-ap-southeast-1.amazonaws.com/cdn.uvdesk.com/website/3/202002075e3cec5d9e4d3translationfile.png

        Now make a entry for your locale in uvdesk.yaml file.

        c845fda5-1c50-442f-96cd-53c7c7744179-image.png

        And Finally check your choice language by passing it into url.

        https://s3-ap-southeast-1.amazonaws.com/cdn.uvdesk.com/website/3/checkTranslation.png

        Now you can make it your default language.

        Locate file config->packages->translation.yaml  open translation.yaml  and make changes as given below.

        default_locale:    your_locale(en, ar etc)
              fallbacks:   
                             -  your_locale(en, ar etc)
         
         
        Clear your project cache by:
         
        php bin/console c:c

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