Share via

Dynamic dictionary does not work

kazuki miyazaki 20 Reputation points
2023-07-27T03:57:49.03+00:00

We use Azure for translation from japanese(ja) to Vietnamese(vi) and Chinese (zh-hans).

Then, We are utilizing a dynamic dictionary at that time, but the dynamic dictionary is not working. (I think it used to work before)

Like: <mstrans:dictionary translation="translation of phrase">phrase</mstrans:dictionary>

The conversion from japanese(ja) to english(en) is working well.

Azure Translator in Foundry Tools

Answer accepted by question author

Rohit Mungi 49,131 Reputation points Microsoft Employee Moderator
2023-07-27T13:41:06.7166667+00:00

@kazuki miyazaki I think the behavior you are seeing is expected since one of the requirement is to have English in from and to languages.

The From and To languages must include English and another supported language

If you are using Japanese to English this should work as expected but Japanese to Vietnamese will not work and will translate all the elements. Even though you are using en as one of the two language the request to other to languages is treated as a separate request by the API and this will not apply dynamic dictionary in this case.

So, the below works as expected.(Ja->En)

User's image

Ja->Vi will translate the entire text and will not apply dynamic dictionary since en is not part of to and from parameters.

If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.