Closed Stephirio closed 4 years ago
When I try to use this code:
require_once __DIR__ . "/vendor/autoload.php"; use Gettext\Loader\PoLoader; $loader = new PoLoader(); $dir = "/app/"; $t = $loader->loadFile($dir . "languages/it.po"); print_r($t . "YE::::);
it doesn't show anything on the page. Also "YE:::::" doesn't show up.
Sorry for ignorance, I'm a beginner of PHP.
The code is wrong, you miss the final quote in print_r($t . "YE::::);
print_r($t . "YE::::);
Oh, sorry, I'm a noob.
When I try to use this code:
it doesn't show anything on the page. Also "YE:::::" doesn't show up.
Sorry for ignorance, I'm a beginner of PHP.