The gettext setup doesn't work on all systems out of the box
My localhost doesn't fetch the translations. Here's what I have done so far (unsuccessfully). I ran sudo systemctl restart apache2
after each change and hit CTRL-F5
in the browser to force reload the homepage.
- Run
locale/compile_all_PO_into_MO.sh
to compile the translations - Identify my
php.ini
by runningcd / \ sudo find -name php.ini
- Edit the
php.ini
viasudo geany etc/php/7.4/apache2/php.ini
- Replace
;extension=gettext
byextension=gettext
and save - Search the system for the specific location for the gettext package
sudo find -name gettext
- Replace
;extension=gettext
byextension=/var/lib/php/modules/7.4/registry/gettext
and save - Replace
;extension=gettext
byextension=/var/lib/php/modules/7.4/apache2/enabled_by_maint/gettext
and save
Edited by GunChleoc