buildFilename static method
Builds the translations YAML file name
for the given language code named langCode
and country code named ctryCode
Implementation
static String buildFilename(String langCode, [String? ctryCode]) {
var fileRoot = '$langCode';
if (ctryCode != null && ctryCode.isNotEmpty) {
fileRoot += '_$ctryCode';
}
return '$fileRoot.yaml';
}