@@ -43,7 +43,7 @@ PHP core, but here we list others for completion:
43
43
- [ aura/intl] [ aura-intl ] : Provides internationalization (I18N) tools, specifically package-oriented per-locale message
44
44
translation. It uses array formats for messages. Does not provide a message extractor, but does provide advanced
45
45
message formatting via the ` intl ` extension (including pluralized messages).
46
- - [ oscarotero /Gettext] [ oscarotero ] : Gettext support with an OO interface; includes improved helper functions, powerful
46
+ - [ php-gettext /Gettext] [ php-gettext ] : Gettext support with an OO interface; includes improved helper functions, powerful
47
47
extractors for several file formats (some of them not supported natively by the ` gettext ` command), and can also export
48
48
to other formats besides ` .mo/.po ` files. Can be useful if you need to integrate your translation files into other
49
49
parts of the system, like a JavaScript interface.
@@ -373,7 +373,7 @@ As preferred by many people, it is easier to use `_()` instead of `gettext()`. M
373
373
frameworks use something similar to ` t() ` as well, to make translated code shorter. However, that is the only function
374
374
that sports a shortcut. You might want to add in your project some others, such as ` __() ` or ` _n() ` for ` ngettext() ` ,
375
375
or maybe a fancy ` _r() ` that would join ` gettext() ` and ` sprintf() ` calls. Other libraries, such as
376
- [ oscarotero 's Gettext] [ oscarotero ] also provide helper functions like these.
376
+ [ php-gettext 's Gettext] [ php-gettext ] also provide helper functions like these.
377
377
378
378
In those cases, you'll need to instruct the Gettext utility on how to extract the strings from those new functions.
379
379
Don't be afraid; it is very easy. It is just a field in the ` .po ` file, or a Settings screen on Poedit. In the editor,
@@ -411,7 +411,7 @@ After including those new rules in the `.po` file, a new scan will bring in your
411
411
[ rare ] : https://www.gnu.org/software/gettext/manual/gettext.html#Rare-Language-Codes
412
412
[ func_format ] : https://www.gnu.org/software/gettext/manual/gettext.html#Language-specific-options
413
413
[ aura-intl ] : https://github.com/auraphp/Aura.Intl
414
- [ oscarotero ] : https://github.com/oscarotero /Gettext
414
+ [ php-gettext ] : https://github.com/php-gettext /Gettext
415
415
[ symfony ] : https://symfony.com/components/Translation
416
416
[ laminas ] : https://docs.laminas.dev/laminas-i18n/
417
417
[ laravel ] : https://laravel.com/docs/master/localization
0 commit comments