note 129059 added to function.gettext

From: Date: Tue, 21 Nov 2023 18:19:28 +0000
Subject: note 129059 added to function.gettext
Groups: php.notes 
Request: Send a blank email to php-notes+get-221013@lists.php.net to get a copy of this message
I was testing in a self-made NAS (Debian + OpenMediaVault) and I was not getting SOME translations. Some translations worked OK but some others were ignored. The problem was caused because I had not added that locales to my NAS locale: 1) Edit file /etc/locale.gen 2) Check if your locale is active (written and uncommented). 3) Execute "locale-gen" as root (or sudo). So, in short, if you have a Linux system and your translations are ignore check if you have that locale active in your system. ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.157.134 (proxied: 2a0c:5a87:6009:e600:eea0:136d:a0ab:d1f7) ---- Manual Page -- https://php.net/manual/en/function.gettext.php Edit -- https://main.php.net/note/edit/129059 Del: integrated -- https://main.php.net/note/delete/129059/integrated Del: useless -- https://main.php.net/note/delete/129059/useless Del: bad code -- https://main.php.net/note/delete/129059/bad+code Del: spam -- https://main.php.net/note/delete/129059/spam Del: non-english -- https://main.php.net/note/delete/129059/non-english Del: in docs -- https://main.php.net/note/delete/129059/in+docs Del: other reasons-- https://main.php.net/note/delete/129059 Reject -- https://main.php.net/note/reject/129059 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#221013) next »