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

feat(translate): Automatically call translate macros on translate oper… #619

Merged
merged 1 commit into from
Oct 14, 2016

Conversation

ioanpocol
Copy link
Contributor

…ation

The translate macros had defined the translate related settings
from_language(optional) and to_language(mandatory).
Example:
from_languages = ['en']
to_languages = ['nn-NO', 'nb-NO']
If from_language is not defined, the from language is not checked.

@petrjasek petrjasek added this to the 1.4 milestone Oct 14, 2016
Copy link
Member

@petrjasek petrjasek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code looks good, but can you add some documentation about this?

…ation

The translate macros had defined the translate related settings
from_language(optional) and to_language(mandatory).
Example:
from_languages = ['en']
to_languages = ['nn-NO', 'nb-NO']
If from_language is not defined, the from language is not checked.
@ioanpocol
Copy link
Contributor Author

done

@petrjasek
Copy link
Member

👍

@ioanpocol ioanpocol merged commit 6e562f7 into superdesk:master Oct 14, 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

Successfully merging this pull request may close these issues.

None yet

3 participants