We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
could be super if it could write mo files
perhaps get inspiration here: https://github.com/phpmo/php.mo/blob/master/php-mo.php
The text was updated successfully, but these errors were encountered:
Hi,
Is there any way to generate the MO file in PHP ? I've try https://github.com/phpmo/php.mo/blob/master/php-mo.php and https://github.com/bigwhoop/potomoco
Nothing work, the mo file is generate but the translation on the page is wrong. And when I use PoEdit it works....
Thx !
Sorry, something went wrong.
Well, I've never used mo files so have no idea how they work neither what's the best library out there.
Thx @raulferras
Finaly I've found this : https://github.com/oscarotero/Gettext and it works.
But I've found a bug in EntryFactory, the msgid_plural is missing so I've add this in line 56 👍
$entry->setMsgIdPlural($entryArray['msgid_plural']);
You confirm ?
No branches or pull requests
could be super if it could write mo files
perhaps get inspiration here:
https://github.com/phpmo/php.mo/blob/master/php-mo.php
The text was updated successfully, but these errors were encountered: