viniciusmo / extract-localizable-string-plugin-xcode

Xcode plugin for quickly creating localized strings
219 stars 35 forks source link

no key created in any localized files, not work in xCode6.4 ? #20

Open maimake opened 9 years ago

maimake commented 9 years ago

I reinstall this plugin, and restart xCode 6.4 , still not working.

Nothing is created in any localized files.

I don't know why

greenmood commented 9 years ago

Same story

viniciusmo commented 9 years ago

Xcode version?

EdwinOtten commented 9 years ago

Same in Xcode 7.0.1 (7A1001), or does it require the Localizable.strings file to be in project root?

croccio commented 9 years ago

same here Xcode 7.0 no key created and cannot select file

EdwinOtten commented 9 years ago

I found the problem (in my case): I already had a Localizable.strings file (in multiple languages) in a folder called "Resources" inside my project folder. The localized strings created by the plugin were actually added to another Localizable.strings (in a folder called "[ProjectName]-assets") which is not included in my workspace.

I just created all the localized strings I needed and then copied them to the right language file to keep things simple.

croccio commented 9 years ago

i've open all strings file, and key there isn't

EdwinOtten commented 9 years ago

@croccio Try to refactor your string with the plugin and use a certain key (e.g. "my_key"). Then do a command+Z to undo and do the same thing again with the same key ("my_key"). The plugin should warn you that the key already exists, if this is the case then the key is saved somewhere. The question is where..

croccio commented 9 years ago

no, plugin doesn't tell me that key already exists

EdwinOtten commented 9 years ago

Okay, and you did create the Localizable.strings file like the README.md shows?

@viniciusmo Does the plugin give a error if it can't find the Localizable.string?

croccio commented 9 years ago

yes i create it as read show

Megatron1000 commented 9 years ago

I'm getting the same issue in 7.1. I create the strings file as shown. Only difference is my project doesn't have a base localisation.

HeltonSampaio commented 8 years ago

It happens to me the same thing.

MagnusJohansson commented 8 years ago

Same here, doesn't work at all

jeryRazakarison commented 8 years ago

It would be good if in the README.md, you indicate the process to download and test the plugin from source code. I would like to help trying and submitting pull requests, but I have no idea about getting started after downloading your code.

jeryRazakarison commented 8 years ago

For a temporary fix:

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

Amandeep-iOS commented 8 years ago

Hi All,

Following steps worked for me -

  1. Remove extract-localizable-string-plugin-code using alcatraz
  2. Reinstall it.
  3. relaunch Xcode.

Thanks