translateDocument function
Implementation
String translateDocument(String documentName, String language) {
if (language == Languages.indonesian.value) {
if (documentName == DocumentTypes.driverLicense.value) {
return "Surat Izin Mengemudi";
}
}
return documentName;
}