From 9a9916e392dc39bfdd5d936cb57c399aef3bf1de Mon Sep 17 00:00:00 2001 From: Oscar Otero Date: Mon, 21 Mar 2022 11:17:40 +0100 Subject: [PATCH] fixed gettext translation example. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e43e291..f36ed05 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ $t->setLanguage('gl'); //Load the domains: $t->loadDomain('messages', 'project/Locale'); -//this means you have the file "project/Locale/gl/LC_MESSAGES/messages.po" +//this means you have the file "project/Locale/gl/LC_MESSAGES/messages.mo" //Now you can use it in your templates echo $t->gettext('apple');