Spanish alert messages support
Addition pgm_Localizable_es and typo in PluginUtil.m
MODIFY
plugin.xml
plugin.xml
<!-- Base messages -->
<resource-file src="src/ios/strings/pgm_Localizable_en.json" target="pgm_Localizable_en.json" />
+ <!-- localized messages for Spanish -->
+ <resource-file src="src/ios/strings/pgm_Localizable_es.json" target="pgm_Localizable_es.json" />
<!-- localized messages for Japanese -->
<resource-file src="src/ios/strings/pgm_Localizable_ja.json" target="pgm_Localizable_ja.json"/>
<!-- localized messages for Russian -->

MODIFY
src/ios/GoogleMaps/PluginUtil.m
src/ios/GoogleMaps/PluginUtil.m
@@ -359,7 +359,7 @@ static char CAAnimationGroupBlockKey;
}
if (!foundFilePath) {
- foundFilePath = [mainBundle pathForResource:@"pgm_Localizable-en" ofType:@"json"];
+ foundFilePath = [mainBundle pathForResource:@"pgm_Localizable_en" ofType:@"json"];
}
fileContents = [NSString stringWithContentsOfFile:foundFilePath encoding:NSUTF8StringEncoding error:nil];

Spanish alert messages support

Addition pgm_Localizable_es and typo in PluginUtil.m