Skip to content

idomizrachi/i1n

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

The safer side of localization

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages