mern project translation i18n
Budget: €30 – €250 EUR
i have a partially developed MERN project that i want to make multi lingual. I’m looking for the implementation of i18n, i10n to make that possible.
All tokenised texts will be placed in individual files for each language. Only English and the user’s selected language file will be delivered to the user.
English will be the fallback language.
There will be many other languages.
I would like a script that uses the missingKeyHandler with Google Translate API to fetch translations of texts that exist in the English file but not in other language files and then adds them to each language file with the token. This script can be triggered manually by admin each time the English file is updated.
Texts will be short and simple, so in most cases this will be good enough. Over time translations can be manually corrected as needed.
Sometimes the English text for an established token will change, in this case the script above wont update the other languages as the text will already exists in each language file and will appropriately be ignored. I need a work around for this situation. Either:
1) I can create a new token id for the new English text that will be updated with the above script to all language files, or,
2) there could be a second script that allows me to force override the existing translations with the new google translation based on the new texts, I imagine this will be with a script that requires the specific token id.
In the interest in maintaining a lower investment with this MVP I would prefer 1 unless the work for the required script 2) is nominal.
This project does not include the tokenisation of current texts, this will be done by my current dev.
A technical explanation will need to be provided in writing of what has been done, this is for my current dev.
All tokenised texts will be placed in individual files for each language. Only English and the user’s selected language file will be delivered to the user.
English will be the fallback language.
There will be many other languages.
I would like a script that uses the missingKeyHandler with Google Translate API to fetch translations of texts that exist in the English file but not in other language files and then adds them to each language file with the token. This script can be triggered manually by admin each time the English file is updated.
Texts will be short and simple, so in most cases this will be good enough. Over time translations can be manually corrected as needed.
Sometimes the English text for an established token will change, in this case the script above wont update the other languages as the text will already exists in each language file and will appropriately be ignored. I need a work around for this situation. Either:
1) I can create a new token id for the new English text that will be updated with the above script to all language files, or,
2) there could be a second script that allows me to force override the existing translations with the new google translation based on the new texts, I imagine this will be with a script that requires the specific token id.
In the interest in maintaining a lower investment with this MVP I would prefer 1 unless the work for the required script 2) is nominal.
This project does not include the tokenisation of current texts, this will be done by my current dev.
A technical explanation will need to be provided in writing of what has been done, this is for my current dev.