Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: how to translate app into different languages and sell on marketplace?

Tags:

android

Say I have an app consisting of some preference lists, some toasts, etc. Strings are set both in the XML files and appending/created dynamically in Java sometimes.

How does one go about making the app in like 8 different languages and selling them based on language? Does the android marketplace let you set a dropdown list for language to download in?

Also on the programming side, is having the translations in a word file and then doing copy-and-paste into eclipse going to work?

Perhaps I'm asking in the wrong place, but I'm not too sure where to start here.

like image 401
JDS Avatar asked Jun 23 '11 03:06

JDS


2 Answers

This page has everything you need to know.

like image 197
AC2MO Avatar answered Oct 22 '22 11:10

AC2MO


It's easy. Place your string resources in different XML files:

  • res/values/strings.xml - for default language
  • res/values/strings-de.xml for German
  • res/values/strings-it.xml for Italian

and so on

Also you can put your layouts to different resources. Everything is described in links provided in other answers

like image 21
Barmaley Avatar answered Oct 22 '22 12:10

Barmaley