Android Localization Helper

General

Category
Free
Tag
Localization
License
N/A
Registered
Sep 2, 2014
Favorites
0
Link
https://github.com/4e6/android-localization-helper
See also
Localized
message-data
Localization
goloc
AppLocale

Additional

Language
Shell
Version
N/A
Created
Aug 12, 2011
Updated
Dec 9, 2014 (Retired)
Owner
Dmitry Bushev (4e6)
Contributors
Nolan Lawson (nolanlawson)
Dmitry Bushev (4e6)
Sebastian Schmidt (yath)
3
Activity
Badge
Generate
Download
Source code

Android Localization Helper

Helps to find missing or obsolete translations for android resources.

Build

Use sbt to build project:

sbt stage

This will build jar and create distribution with all required dependencies and an executable shell script under target/universal/stage directory.

Usage:

alh is a thin wrapper around executable generated by sbt-native-packager plugin

alh /path/to/android/project [arrays.xml]

You must specify android project folder. Second parameter is optional, it specifies resources filename (strings.xml by default).

Example:

git clone git://github.com/4e6/android-localization-helper.git
cd android-localization-helper
./sbt stage
./alh /path/to/android/project

Output:

[filename]
 *[resource type]
  *[T] [resource name]
  *[O] [resource name]
  • [T] Resources need to be translated (exists in original xml but not in localized version)
  • [O] Obsolete resources (exists in localized version but not in original one)