This program will read from your android application string.xml file and generate translated strings.xml files in your preferred languages using google sheet.

Overview

Localize your application content

  • This program will read from your application string.xml file and generate translated strings.xml files in your preferred languages using google sheet.
  • Why using google sheet?
    To avoid high transaction charges on API requests for translation. Or spending money on a Translator. 😉

Prerequisites

To run this quickstart, you need the following prerequisites:
https://developers.google.com/sheets/api/quickstart/java#prerequisites

  1. To create a project and enable an API,

    • NOTE : For this quickstart, you are enabling the “Google Sheets API”
  2. Copy the credentials.json and add in project directory (StringLocalizationGenerator/credentials.json)

Download

Download jar file of Android-Localization
NOTE : if you directly run jar, please put credentials.json file in the folder where your jar file exists.

How to Run .jar file.

 * cmd : java -jar <jar-file-name>.jar

After executing .jar file or directly run program

  1. Please enter google sheet url
  2. Please enter google sheet name
  3. Please enter language code (i.e. German=de,French(Standard)=fr, French(Belgium)=fr-be)
  4. Please enter 'String.xml' file path (i.e.D:\string.xml)
  1. For download translated language files type 'downloadFiles'

Procedure:

NOTE

 1. Google sheet must be public with read and write permission.
 2. Default language should be English.
 3. First time,after performing the 4th step its redirecting browser and showing a popup of quickstart for permission so click with continue button.
You might also like...
For mobile app program project

For mobile app program project

Kotlin-client-dsl - A kotlin-based dsl project for a (Client) - (Plugin) styled program

kotlin-client-dsl a kotlin-based dsl project for a (Client) - (Plugin) styled p

This is a Kotlin multiplatform template project used to generate and deploy a natively compiled AWS lambda function using the custom runtime.
This is a Kotlin multiplatform template project used to generate and deploy a natively compiled AWS lambda function using the custom runtime.

Overview This is a Kotlin multiplatform template project used to generate and deploy a natively compiled AWS Lambda function using a custom runtime. U

App in Kotlin, for the user to read motivational phrases.
App in Kotlin, for the user to read motivational phrases.

App Motivation App em Kotlin, para o usuário ler frases motivacionais. A tela inicial é a activity_user, onde após o preenchimento do nome e clique no

💫 A Gradle Plugin to generate your networking code from Swagger

Swagger Gradle Codegen A Gradle plugin to generate networking code from a Swagger spec file. This plugin wraps swagger-codegen, and exposes a configur

Koin Annotations - help declare Koin definition in a very fast and intuitive way, and generate all underlying Koin DSL for you

The goal of Koin Annotations project is to help declare Koin definition in a very fast and intuitive way, and generate all underlying Koin DSL for you. The goal is to help developer experience to scale and go fast 🚀 , thanks to Kotlin Compilers.

Auto-generate the fastest possible Parcelable implementations for Java and Kotlin

This project is deprecated It will still be maintained, but no new features will be added. Please use Parcelize, as it is the official way of generati

A Gradle plugin for Kotlin Multiplatform projects that generate a XCFramework for Apple targets or a FatFramework for iOS targets, and manages the publishing process in a CocoaPod Repository.

KMP Framework Bundler KMP Framework Bundler is a Gradle plugin for Kotlin Multiplatform projects that generate a XCFramework for Apple targets or a Fa

SpyApp - The application launches dex files downloaded from the server

SpyApp The application downloads a dex file, which is then dynamically launched,

Owner
DhiWise
The ultimate open-source hub of Node.js code generation
DhiWise
🛠️ The missing drawable toolbox for Android. Create drawables programmatically and get rid of the boring and always repeated drawable.xml files.

DrawableToolbox English | 中文 The missing DrawableToolbox for Android. Create drawables programmatically and get rid of the boring and always repeated

Hong Duan 1.1k Jan 4, 2023
GBooks - A simple android app written in Kotlin to read books from the Google Book Api

G-Books A simple android app written in Kotlin to read books from the Google Boo

Google Developer Student Clubs - Baba Banda Singh Bahadur Engineering College 10 Nov 7, 2022
A Kotlin Native program to show the time since a date, using Kotlin LibUI

TimeSince A Kotlin Native program to show the time since a date, using Kotlin LibUI Report Bug . Request Feature About The Project TimeSince is a Kotl

Russell Banks 2 May 6, 2022
From Java to Kotlin Cheat Sheet

From Java to Kotlin Cheat Sheet Page: http://fabiomsr.github.io/from-java-to-kotlin/ Programmatically inspired from swift-is-like-go and visually insp

Fabio Santana 552 Dec 23, 2022
Mogen - Converts Kotlin models to other languages

Mogen is a small library that converts Kotlin's models to other programming lang

elevup 3 Jun 8, 2022
Theia - A Kotlin program used to analyze and discover backdoors in Minecraft Java 1.12.2 forge mods

Theia A Kotlin program used to analyse and discover backdoors in Minecraft Java

null 7 Jan 13, 2022
String obfuscator for Android applications

Paranoid String obfuscator for Android applications. Usage In order to make Para

Joom 7 Sep 10, 2022
KMP library for string unicode normalization

doistx-normalize Kotlin Multiplatform (KMP) library that adds support for normalization as described by Unicode Standard Annex #15 - Unicode Normaliza

Doist 31 Nov 22, 2022
Detekt rule no string parameter with kotlin

Detekt custom rule template This repository is a template. You can use it to generate your own repository to write and share your custom rules. How to

Christian Wüstner 0 Nov 26, 2021
Location Reminder App build as part of the udacity nanodegree program

Location Reminder a Location Reminder App with notifications that remind the user to do something when the user is at a specific location. built as pa

André Wagner 0 Dec 26, 2021