GithubHelp home page GithubHelp logo

localizablestrings's Introduction

Localizable.strings

This repo was created to demo to SourceTree that their tool ignores the textconv setting in git when diffing commits.

See issue 4210: diff textconv is ignored when diffing commits

Setup

To setup your git environment, run the following 2 commands:

git config diff.localizablestrings.textconv "iconv -f utf-16 -t utf-8"
git config diff.localizablestrings.binary false

Demo

Now if you type:

git show c64354

You should be able to see Localizable.strings changes

commit c64354f1d4945ed4325443923f937450dc45510a
Date:   Tue Nov 22 14:43:22 2016 -0800

    Update Localizable.strings with Spanish translation

diff --git a/Localizable.strings b/Localizable.strings
index dabed4a..5c7a718 100644
--- a/Localizable.strings
+++ b/Localizable.strings
@@ -1 +1 @@
-"Hello World" = "Hello World"
+"Hello World" = "Hola Mundo"

localizablestrings's People

Contributors

krunk4ever avatar

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.