Skip to content
New issue

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

Feature: Validate .yml translation files #2

Open
tractorcow opened this issue Jun 14, 2015 · 2 comments
Open

Feature: Validate .yml translation files #2

tractorcow opened this issue Jun 14, 2015 · 2 comments

Comments

@tractorcow
Copy link
Owner

As a part of the update translations it would be good if there was a client side validate of each file to prevent silverstripe/silverstripe-framework#4247

@sminnee
Copy link

sminnee commented Apr 14, 2016

Referenced in silverstripe/silverstripe-framework#5130

@sminnee
Copy link

sminnee commented Sep 18, 2016

@tractorcow if you can put the yaml files through this tool we should be good:
https://rubygems.org/gems/yamlclean

It's a rubygem, so sudo gem install yamlclean will get the required tool.

To use, call yamlclean input.yml > output.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants