I am designing an react ionic app having multi quizzes with multiple questions and with multiple answers to choose from in multi-language ? which internationalization library should I choose, all the examples I see are simple key:pair value translations in one location but my structure is some thing like this below, how do I basically load based on the language the user choose and the quiz ?
{
"quiz": {
"id": "QZ-1",
"language": "en",
"title": "Personality Check",
"version": "1.0",
"questions": [
{
"question": "Are you 30 years old and above ?",
"answers": [
{
"answer": "Yes"
},
{
"answer": "No"
},
]
},
{
"question": "Are you a male ?",
"answers": [
{
"answer": "Yes"
},
{
"answer": "No"
}
]
},
]
}
}