Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runs, but doesn't insert the string into the Localized.strings file #28

Open
sanguish opened this issue Jan 4, 2016 · 5 comments
Open

Comments

@sanguish
Copy link

sanguish commented Jan 4, 2016

This is wonderful, except it isn't actually putting the strings into the localized.strings file.

Is this known on 7,2?

@MagnusJohansson
Copy link

Same here, on Xcode v7.2, after doing an extract, the string just disappear, not saved anywhere.

@achernoprudov
Copy link

I have this problem too.

@cloudjanak
Copy link

+1

@jeryRazakarison
Copy link

I have the same problem. Starting investigating, I saw that EditorLocalizable L199 getDefaultLocalizableFilePath
returns nil

@jeryRazakarison
Copy link

For a temporary fix:

  • Copy the full path of your Localizable.strings
  • Open the project ExtractorLocalizableStrings downloaded from Github
  • In [EditorLocalizable getDefaultLocalizableFilePath], add return <Full path to your Localizable.strings>; at the very top of the method.
  • In [EditorLocalizable localizableFilePaths] add return @[<Full path to your Localizable.strings>];
  • Compile the project
  • Restart XCode
    Now, the keys should be added to the Localizable.strings.

When I have time, I will look into why these two methods can't find the file and return nil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants