Is there any Eclipse plugin that takes strings from code and puts them in strings.xml? I found "Externalize strings" function in Eclipse, but I don't know how to get it to work with strings.xml.
Use Refactor in Eclipse:
The string will be moved to strings.xml and the call to getContext().getString(R.string.my_string)
generated.
You can also position your cursor over the string literal and press ctrl+1. Then choose "externalize" by the android icon.
Credits: Do externalized strings need to be in strings.xml?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With