Forum

Change Language Fla...
 
Notifications
Clear all

Change Language Flag

6 Posts
3 Users
0 Reactions
42 Views
Posts: 10
Topic starter
(@barrettcomms)
Member
Joined: 7 years ago

I would like to change the USA flag to UK Flag in the language selection, i have changed the svg file /osta/svg/flags/united-states.svg to a UK Flag but it it appears to be hard coded in \include\client\header.inc.php.

Any advice on how to achieve this?

Thanks,

Adrian.

 


5 Replies
Posts: 1177
Admin
(@stevland)
Member
Joined: 2 months ago

Hi Adrian,

These instructions assume that you are using osTicket-Awesome-1.10.4-v1.0 or newer.

  1. Download united-kingdom.svg to your computer
  2. Upload united-kingdom.svg to /osta/svg/flags/
  3. Open /osta/css/staff-desktop.css
  4. Search and replace "united-states.svg" to "united-kingdom.svg" (2 instances)

You will need to repeat steps 3 and 4 above whenever you upgrade your osTicket Awesome installation (I will include united-kingdom.svg in all future releases). Perhaps I will add a US/UK switch in a future release.

In the long run it would be easier if people in the UK could learn to speak proper US English haha.


Reply
Posts: 2
(@daviddigitaltransitions-ca)
Member
Joined: 7 years ago

Can we get a Canadian version of this flag as well?


Reply
Posts: 1177
Admin
(@stevland)
Member
Joined: 2 months ago

Given that I am Canadian myself, that seems like a reasonable request to me.

I will add it to my list of things to do for a future release.

In the meantime you can replace the US flag by simply downloading this file and uploading it to /osta/svg/flags/ (overwriting the one that is there).


Reply
Posts: 2
(@daviddigitaltransitions-ca)
Member
Joined: 7 years ago

Sweet! Thanks. It looks amazing by the way 🙂

 


Reply
Page 1 / 2
Share: