views:

28

answers:

2

Hi! Is it possible to change prompt text that says "place the barcode inside the viewfinder..." when launching Barcode scanner (zxing) via intent (Intent intent = new Intent("com.google.zxing.client.android.SCAN")) ? I want to have prompt in my language, how should i do that?

A: 

It reads "Positionieren Sie den Barcode innerhalb des Rechtecks" on my Android. So I guess, the text depends on the handhelds locale setting (as ZXing doesn't provide a setting to change the locale locally).

So if you need support for a now unsuported language, I bet you have to get in contact with ZXings dev team.

Andreas_D
Ok, so this just a thing of locale and there is no way to add some information to intent that would change the text?
DixieFlatline
@DixieFlatline - Sorry for the late reply - I think you have to send an email to the zxing dev team. Maybe they have an API to set custom texts on the view.
Andreas_D
A: 

Developer here. No sorry you can't do that. But yes if all you mean is you want to contribute a new translation, send us the text.

Sean Owen
I will send you the text(for other menus as well), but i guess it will be a problem because there is still no slovenian locale in android. (at least on my 2.1 htc hero).
DixieFlatline
Great, if you are interested in contributing a Slovenian translation (for whenever the locale becomes available) then just translate the strings here: http://zxing.googlecode.com/svn/trunk/android/res/values/strings.xmlYou can send them to me -- I am srowen at gmail. We would of course credit your contribution in the project.
Sean Owen
I will send you my translation within a week.
DixieFlatline