Comments (4)
If you're using PoEdit you need to click the update button first then you can begin translating.
See issue #1 , I already gave some example usage. thanks.
from laravel-gettext.
Oh, so that's how it works... Apologies for the silly question.
When I used gettext before, I remember that the command line tool generated a .pot file with all the messages to be translated, that served as a template for poEdit. But now poEdit does the scan for messages, that's good.
Thanks!
from laravel-gettext.
Just a follow up:
Even after I added some translations to the .po file and compiled to .mo, I still didn't get it to work after switching languages.
Then I went to php.ini and disabled php_gettext.dll (windows) and it works now!
I'm assuming that the php extension is more picky when trying to find translations, probably it's missing some parameters.
from laravel-gettext.
not only you, i've encountered this problem also on windows! have to disable the extension.
After some searching it's a known bug on php since 5.4.19+, here's the link.
try branch 0.3 for laravel 4.2 and use PHP < 5.4.19, it will work.
from laravel-gettext.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-gettext.