Now, our routes are namespaced under locales, e.g to get all english proverbs, go to /api/v1/en/proverbs where en is the locale. this means the routes our frontend is hitting has to change to reflect this. To create a translation, just update a proverb with the locale e.g put /api/v1/rs/proverbs/1, will create a russian translation of that proverb
This handles redoing the translations.
Now, our routes are namespaced under locales, e.g to get all english proverbs, go to
/api/v1/en/proverbs
whereen
is the locale. this means the routes our frontend is hitting has to change to reflect this. To create a translation, just update a proverb with the locale e.g put/api/v1/rs/proverbs/1
, will create a russian translation of that proverb