[EXCONTRANS-345] Provide error message if something wrong on translate method Created: 30/Oct/20 Updated: 30/Oct/20 Resolved: 30/Oct/20 |
|
| Status: | Closed |
| Project: | Content Translation Extended (CTX) |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Teresa Miyar | Assignee: | Teresa Miyar |
| Resolution: | Not an issue | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Description |
|
Inform the user also in case the implemented method info.magnolia.translation.ext.core.translator.Translator#translate Throws an exception. |
| Comments |
| Comment by Teresa Miyar [ 30/Oct/20 ] |
|
This is currently done by the implementation of the translator using MessagesManager, see https://git.magnolia-cms.com/projects/SERVICES/repos/content-translation-support-ext/browse/magnolia-content-translation-support-ext-google/src/main/java/info/magnolia/translation/ext/provider/google/translator/GoogleTranslator.java#91 |