GibbonEdu / core

Gibbon is a flexible, open source school management platform designed to make life better for teachers, students, parents and leaders.
https://gibbonedu.org
GNU General Public License v3.0
452 stars 295 forks source link

Bug: Language does not change on a fresh intstall (v26) #1814

Closed dom-madrid closed 3 months ago

dom-madrid commented 3 months ago

Describe the Bug

I reinstalled v26 on a fresh VM with english as the install language. Went on downloading and installing spainsh and french language packs. Tried to change my user language to either language to no effect (logout and login) no changes. Tried to change the entire system language to no effect either. It's a fresh install. I had no time to fool around in the VM to break something. Am I missing something ?

To Reproduce

1 Create new VM

  1. install Gibbonedu 26
  2. download new language
  3. activate language (for user or system)
  4. get the UI in the right language

Expected behavior

get th UI in the right language (french or spaning in my case)

Actual behavior

Ui still in english

Screenshots

Screenshot from 2024-03-28 16-02-53 Screenshot from 2024-03-28 16-03-46

Gibbon version

26.00

Browser

Other (specify below)

Browser Version

Opera Version:108.0.5067.40

Additional Context

No response

yookoala commented 3 months ago

What is the operating system of the VM? Did you install Spanish and French on your server system (not Gibbon, the operating system inside the VM)?

Gibbon's locale system is based on gettext, which can depends on the locale installed on the system.

SKuipers commented 3 months ago

Thanks @yookoala, I suspect this is the case too.

Hi @dom-madrid, thanks for your bug report. In this case, it sounds like since you're using a new VM, the server itself does not have the locales installed. Here is a link to the documentation to help get you started: https://docs.gibbonedu.org/administrators/misc/internationalisation/