jrief / django-angular

Let AngularJS play well with Django
http://django-angular.awesto.com/
MIT License
1.23k stars 294 forks source link

Translate #233

Closed fjbardelli closed 8 years ago

fjbardelli commented 8 years ago

It is possible to make the translation of messages to other idiema valicion, as is Spanish.

Thank execelte work.

fjbardelli commented 8 years ago

When the form is assembled in django the fields are one below the other, but I have a form where the fields are small, and I need them next to each other, one on the right and left ortro the same row of formuario .

What would be the correct way to customize the spectrum of the echos fromularios with this library.

Thank execelte work.

adrienbrunet commented 8 years ago

Please open a different issue for the horizontal form. lus,there is already an existing issue opened about that. Thanks =)

adrienbrunet commented 8 years ago

About the translation, I don't know if it's in our scope right now but feel free to provide a spanish translation. @jrief @jkosir What's the plan about that?

jkosir commented 8 years ago

Um I don't really know the form validation code much, but doesn't it use django-generated error messages? So if you have django locale set to spanish they should be in spanish?

jrief commented 8 years ago

Just had a look at the code, yes we do have a few (3) translations string. I already added German.

I now added I18N support to the projects. If someone wants to add it to transiflex, please do so.

@fjbardelli In the meantime, please use

cd django-angular/djangular
django-admin.py makemessages --locale=es

then edit file locale/es/LC_MESSAGES/django.po, commit it and create a pull request.

Sorry for not answering earlier.

adrienbrunet commented 8 years ago

Great ! We should add this in a contribute file for further translations.

adrienbrunet commented 8 years ago

PR #235 has fr and es translations if you'd like to review it. Poke @fjbardelli

adrienbrunet commented 8 years ago

PR #236 adds a contributing.md file to the repo. Mainly based on the django contributing file with translation guidelines.