MOSIP language translate issue

Preregistration demographic details screen, I tried to convert the English(eng) word to French (fra) the translation service got a null result. I am choosing only English and French language only. could you please help us to resolve that

Payload: {
“id”: “mosip.pre-registration.transliteration.transliterate”,
“request”: {
“from_field_lang”: “eng”,
“from_field_value”: “manikandan”,
“to_field_lang”: “fra”
“version”: “1.0”,
“requesttime”: “2024-02-14T06:42:48.235Z”
response: {
“id”: “mosip.pre-registration.transliteration.transliterate”,
“version”: “1.0”,
“responsetime”: “2024-02-14T06:42:48.332Z”,
“response”: null,
“errors”: [
“errorCode”: “PRG_TRL_APP_002”,
“message”: “Unsupported language”

Hi @manikandan_manikanda

Thanks for sharing the error response let our team look into this and reply to you with a solution.

Best Regards,

Direct English to French translation is not supported by the transliteration library used (ICU4J) hence you are seeing this error.

1 Like

@mayuradesh could we use any other translation libraries?

Currently kernel-transliteration-icu4j is providing the transliteration.
Code for the same is available here:

1 Like