Git Product home page Git Product logo

Comments (10)

xDeSwa avatar xDeSwa commented on June 2, 2024

I assume you set the symfony language to fr
open folder 'ArtgrisFileManagerBundle' in root/translations. then create messages.fr.yml file or copy original file to here

like this
root/translations/ArtgrisFileManagerBundle/messages.fr.yml

from filemanagerbundle.

elliotlgn avatar elliotlgn commented on June 2, 2024

First thanks a lot for you answer !

But it doesn't work if I do :
/var/www/Project/translations/ArtgrisFileManagerBundle/messages.fr.yml

I don't need to change a configuration to use message.fr.yml instead of message.en.yml ?

I mean directly into the vendor ?

from filemanagerbundle.

xDeSwa avatar xDeSwa commented on June 2, 2024

bundle already has fr.yml in vendor/artgris/filemanager-bundle/Resources/translations/messages.fr.yml

you want override?

from filemanagerbundle.

elliotlgn avatar elliotlgn commented on June 2, 2024

No i don't, i just want to use it

from filemanagerbundle.

xDeSwa avatar xDeSwa commented on June 2, 2024

parameters:
locale: 'fr'
in
config/services.yaml

from filemanagerbundle.

elliotlgn avatar elliotlgn commented on June 2, 2024

doesn't work
i've never use translation before, maybe i have to change something first ?

Maybe because my Default and fallback locale are set to "en" ?

from filemanagerbundle.

xDeSwa avatar xDeSwa commented on June 2, 2024

if you didnt install translation bundle before;

composer require symfony/translation

from filemanagerbundle.

elliotlgn avatar elliotlgn commented on June 2, 2024

i've already installed it

from filemanagerbundle.

xDeSwa avatar xDeSwa commented on June 2, 2024

check config/packages/translations.yaml

framework:
default_locale: '%locale%'
translator:
default_path: '%kernel.project_dir%/translations'
fallbacks:
- en

from filemanagerbundle.

elliotlgn avatar elliotlgn commented on June 2, 2024

Yess thanks a lot !

from filemanagerbundle.

Related Issues (20)

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.