[web-php] PR #1057: Add function for translation of UI elements
| From: | haszi | Date: | Sun, 01 Sep 2024 14:32:38 +0000 |
| Subject: | [web-php] PR #1057: Add function for translation of UI elements | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-32041@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/web-php/pull/1057
Author: haszi
Add a function similar to the one in PhD that can be used to translate words or phrases, and use it
to translate UI elements of the doc pages. If translation of a certain text is not defined for a
language, the function will use the original English text.
Closes https://github.com/php/phd/issues/145
As noted in [this comment](https://github.com/php/phd/issues/145#issuecomment-2308983253) (by
@derickr ?) the "User Contributed Notes" related parts of the UI may have not been
translated on purpose.
Pinging @leonardolara and @cmb69 from the original [issue](https://github.com/php/phd/issues/145).