Coder Social home page Coder Social logo

i1n's Introduction

i1n - The safe way to heavenly localization

i1n will scan your Xcode project and compare the keys in your english localization file to all other available languages.

The result is a report with all keys available in for english but missing for other languages.

This project is still in early stages.

Requirements

This is a swift script file written in Swift 3, and assume you have Xcode 8 installed.

Installation

Add execution permissions to the main.swift:

chmod +x main.swift

Copy & Rename the main.swift to folder in your PATH, for example:

sudo cp main.swift /usr/local/bin/i1n

Execution

Run the i1n script from the root of your project (assuming i1n exists at /usr/local/bin/i1n):

i1n

Sample output:

alt-text

Demo

You can run i1n on the Demo project to see it in action.

alt text

Adding the missing keys with default value

Running i1n -a will add the missing keys to the localization files with their english values.

alt text

alt-text-

Thanks

To Catalin Rosu for the HTML template!

i1n's People

Contributors

idomizrachi avatar

Stargazers

IdoZ avatar  avatar  avatar Yoni Tsafir avatar  avatar  avatar Perry avatar  avatar  avatar Eugene Rozenberg avatar Or Rubin avatar Rami Moshe avatar  avatar  avatar Matan Cohen Abravanel avatar  avatar Arik Goldstein avatar Michael Tzach avatar Matan Lachmish avatar Ori Sarig avatar

Watchers

James Cloos avatar  avatar

i1n's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.