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

Update language files but keep the original formatting #42

Open
imbrish opened this issue Sep 29, 2016 · 0 comments
Open

Update language files but keep the original formatting #42

imbrish opened this issue Sep 29, 2016 · 0 comments

Comments

@imbrish
Copy link

imbrish commented Sep 29, 2016

So the point is, if dedicated setting is on, the script would scan the file, look for things like new line before array opening, keys notation, tabulation, etc. Then it would add missing lemmas in proper places, mark them with "TODO:" label, mark obsolete translations with "OBSOLETE:" label etc. That would keep original style of the file, all the comments etc, yet make maintenance of translations a breeze.

I am aware that this sounds like a big change, with difficult implementation. Anyway I though I may share this idea, as others may like it and fint it useful.

Decent solution shouldn't actually take that much time and may be good enough for many people.
Some time ago I've written similar command for syncing translations between languages, you may check it out here. Feel free to integrate it in the package if you consider it useful or modify it however you like!

I hope we may see this feature implemented one day. I'm eager to help with the development if you think this is a good idea. I might even try to code it all by myself, however before I'd like to hear some feedback.

@imbrish imbrish changed the title Update language file keeping the original formatting Update language files but keep the original formatting Sep 29, 2016
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

1 participant