diff --git a/src/Serval.Client/Client.g.cs b/src/Serval.Client/Client.g.cs index 2cf33919..c0c6d414 100644 --- a/src/Serval.Client/Client.g.cs +++ b/src/Serval.Client/Client.g.cs @@ -794,7 +794,7 @@ public partial interface ITranslationEnginesClient ///
* Recommendation: Create a multi-part name to distinguish between projects, uses, etc. ///
* The name does not have to be unique, as the engine is uniquely identified by the auto-generated id ///
* **sourceLanguage**: The source language code - ///
* Note that for Nmt, if the source or target language code matches an [NLLB-200 code](https://github.com/facebookresearch/flores/tree/main/flores200#languages-in-flores-200), it will map directly and use the language as-is. + ///
* Note that for Nmt, if the source or target language code matches an [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag), it will be converted to an [NLLB-200 code](https://github.com/facebookresearch/flores/tree/main/flores200#languages-in-flores-200) and use the language as-is. ///
* **targetLanguage**: The target language code ///
* **type**: **SmtTransfer** or **Nmt** or **Echo** ///
### SmtTransfer @@ -1182,7 +1182,7 @@ public string BaseUrl ///
* Recommendation: Create a multi-part name to distinguish between projects, uses, etc. ///
* The name does not have to be unique, as the engine is uniquely identified by the auto-generated id ///
* **sourceLanguage**: The source language code - ///
* Note that for Nmt, if the source or target language code matches an [NLLB-200 code](https://github.com/facebookresearch/flores/tree/main/flores200#languages-in-flores-200), it will map directly and use the language as-is. + ///
* Note that for Nmt, if the source or target language code matches an [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag), it will be converted to an [NLLB-200 code](https://github.com/facebookresearch/flores/tree/main/flores200#languages-in-flores-200) and use the language as-is. ///
* **targetLanguage**: The target language code ///
* **type**: **SmtTransfer** or **Nmt** or **Echo** ///
### SmtTransfer diff --git a/src/Serval.Translation/Controllers/TranslationEnginesController.cs b/src/Serval.Translation/Controllers/TranslationEnginesController.cs index 3a750840..2f29f2bd 100644 --- a/src/Serval.Translation/Controllers/TranslationEnginesController.cs +++ b/src/Serval.Translation/Controllers/TranslationEnginesController.cs @@ -88,7 +88,7 @@ CancellationToken cancellationToken /// * Recommendation: Create a multi-part name to distinguish between projects, uses, etc. /// * The name does not have to be unique, as the engine is uniquely identified by the auto-generated id /// * **sourceLanguage**: The source language code - /// * Note that for Nmt, if the source or target language code matches an [NLLB-200 code](https://github.com/facebookresearch/flores/tree/main/flores200#languages-in-flores-200), it will map directly and use the language as-is. + /// * Note that for Nmt, if the source or target language code matches an [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag), it will be converted to an [NLLB-200 code](https://github.com/facebookresearch/flores/tree/main/flores200#languages-in-flores-200) and use the language as-is. /// * **targetLanguage**: The target language code /// * **type**: **SmtTransfer** or **Nmt** or **Echo** /// ### SmtTransfer