Coder Social home page Coder Social logo

translationeditorbundle's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

translationeditorbundle's Issues

Rename repository to ServerGroveTranslationEditorBundle?

It is common practice to include the vendor name in the name of a git repository. Doing this allows for multiple vendors to have a TranslationEditorBundle, while a user can still fork all of them. :)

I see you're other bundles already follow a naming scheme like that?

Other than that, interesting bundle!

Allow importing multiple files with the same name

Right now all my translations are in files called "messages.locale.yml". The bundle will then only import one file since the indexes are created based only on the filename. It should be feasible to add the bundle name in there as well to ensure that there is no name crash.

vendor translations not included in the interface

I've found today that any existing translations located inside the vendors are not included at the interface.

I believe it would be a common request that the validator messages be translated over.

Is there a specific reason for that?

Importing whole folder gets lost

I trie importing from the FOSUserBundle which has 2 files in multiple locales: i.e FOSUserBundle.en.yml, FOSUserBundle.nl.yml.. and validators.en.yml, validators.nl.yml

When i do the import it finds all these files, but when i access the editor it only shows the last file contents, all languages, but only for this filename.

Is this an issue or am i using it wrong?

Blowing up on non-translation files

I keep running into:

Notice: Undefined offset: 2 in /Users/rdohms/dev/webclusive/caas/vendor/servergrove/translation-editor-bundle/ServerGrove/Bundle/TranslationEditorBundle/Command/ImportCommand.php line 88  

This is because this part of the code runs into files that are not translations, so they do not have 2 dots in them. My solution wa to add this before the list command.

if(substr_count($fname, '.') < 2) return;

Support nested yml format

If my files are formatted like this:

homepage:
    title: Welcome
    sidebar:
        title: Menu
        subtitle: Chose something to do

aboutpage:
    title: About us
    contact: Contact us

Then the bundle will import only 2 keys: homepage and aboutpage with values: Array. Either the import should flatten the file while importing them or it should recursively look for the values.

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.