BarcodeScanner icon indicating copy to clipboard operation
BarcodeScanner copied to clipboard

missing default translation for menu_settings

Open ghost opened this issue 11 years ago • 7 comments

plugin.xml is missing the default translation (android) for 'menu_settings'. The following warning is thrown by aapt when building project [aapt] aapt : warning : string 'menu_settings' has no default translation

ghost avatar Nov 17 '14 10:11 ghost

I'm getting this as well, through Visual Studio 2015. Annoyingly, I don't even need the translations. Is there a workaround?

ISYSMichael avatar Jun 10 '15 11:06 ISYSMichael

I had to manually change the plugin.xml file. You can also try the newer version at [phonegap/phonegap-plugin-barcodescanner] http://github.com/phonegap/phonegap-plugin-barcodescanner since this is the new official repository for the barcodescanner

cnp5 avatar Jun 10 '15 13:06 cnp5

I suspect it doesn't matter, VS2015 won't deploy even a most basic example on any platform, so the point could be moot. I have a non-VS version that works though. Thanks anyway.

ISYSMichael avatar Jun 10 '15 14:06 ISYSMichael

upgrading my project from vs2013 to vs2015 for cordova tools and got the same message, when you say you modified the plugin.xml what exactly did you add/change? Even the updated plugin referenced above threw this exception on build for android.

sdhintGIT avatar Oct 20 '15 12:10 sdhintGIT

I added the missing default string in the plugin.xml file. Open the plugin.xml, search for the string menu_history and add the following line after this element Settings But since this plugin is no longer maintained, I ended up removing it and adding the phonegap/phonegap-plugin-barcodescanner which works fine. You can find it here: http://github.com/phonegap/phonegap-plugin-barcodescanner

cnp5 avatar Oct 20 '15 15:10 cnp5

I fixed this error added <string name="menu_settings">Settings</string> in plugins.xml

gblcintra avatar Jul 26 '17 19:07 gblcintra

I fixed this error added <string name="menu_settings">Settings</string> in plugins.xml

Thanks, solved for me!

eddskt avatar Oct 10 '18 17:10 eddskt