Giter Club home page Giter Club logo

Comments (4)

clusteramaryllis avatar clusteramaryllis commented on July 22, 2024

If you're using PoEdit you need to click the update button first then you can begin translating.

PoEdit

See issue #1 , I already gave some example usage. thanks.

from laravel-gettext.

adenot avatar adenot commented on July 22, 2024

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.

adenot avatar adenot commented on July 22, 2024

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.

clusteramaryllis avatar clusteramaryllis commented on July 22, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.