Skip to content

Instantly share code, notes, and snippets.

@pmuilu
Created March 17, 2012 20:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pmuilu/2065073 to your computer and use it in GitHub Desktop.
Save pmuilu/2065073 to your computer and use it in GitHub Desktop.
Get Localization Java API: How to push master file
GLProject project = new GLProject("projectName",
"username",
"password");
GLMasterFile masterFile = new GLMasterFile(project, "values/strings.xml", "android");
try {
masterFile.push();
} catch (GLException e) {
// Handle exception, e.g. wrong username/password
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment