Comments (16)
This is still a problem in the latest version; it makes synx totally unusable for apps with localization.
from synx.
This issue is still present in the current version. Unfortunately, I didn't know about this before an app update went live and it broke localization in my app for thousands of our Spanish and French users. While it's nice that there is a work around to get things working again, Synx shouldn't be doing this in the first place.
from synx.
We fixed this in our project like this:
- Select the storyboard/xib
- Un-tick the languages in the localisation panel that have been converted from .strings to .storyboard/.xib. Make sure that the "Delete localized resources from disk" is not checked in the popup.
- In Finder open the language project folder (de.lproj, fr.lproj or whatever) and rename the .storyboard/.xib files back to .strings
- Back in Xcode select the storyboard/xib and add re-add the localisations. Make sure to select the option to use the existing file in the popup.
from synx.
a friendly advice: cool down, its an FOSS project. take it or leave it. no need for harsh words here. and yes I ran into the same issue.
from synx.
I have the same issue, and am, surprisingly, having trouble repairing it manually. If I rename the files back to .strings
, Xcode won't let me insert them to the correct place in the project, and, moreover, it won't let me remove any references to the deleted files.
How did you go about fixing this @lazarev? It took me some days before I noticed, so I would rather not return to a previous commit.
Edit: Bah, never mind – I figured it out.
from synx.
+1
from synx.
@erwald Just a thought: Did you check the encoding of the strings
file? It may have changed in the process to something other than the required encoding UTF-16
(I think it's required to be that, at least).
from synx.
@Mazyod Do you mean in order to re-add them? I think it's UTF-8 now, but it also works now again. I don't remember exactly what I had to do, but I think it was just another half an hour of fiddling in Xcode that did it.
from synx.
@erwald Oh, got it. Yeah, I thought it was a requirement, but it seems to just be a best practice, it is not actually enforced. From Apple docs:
Note: It is recommended that you save strings files using the UTF-16 encoding, which is the default encoding for standard strings files.
from synx.
Ah, same issue here. Does the fix in #77 work well?
from synx.
Same issue here.
from synx.
Any progress possible on this? Still not useable on localized Projects!
from synx.
@MrNickBarker 's solution worked for us, too. Thanks!
from synx.
MrNickBarker's answer works, but it's poor that the issue still presents.
from synx.
Same issue here, noticed it too late and already done a lot of changes in the project to just reverse a commit. This was the last time for us when we were using this utility. This is unacceptable for the apps that are in production.
from synx.
I ran into the same issue, was able to fix it using the diff of my app's project.pbxproj. Would be great to see a fix in an upcoming release.
from synx.
Related Issues (20)
- Crash report: Errno::EEXIST
- Have the synx work in oposite direction as well? HOT 1
- Swift Scripting HOT 2
- Synx can irreversibly remove all your files HOT 1
- *.xcassets files was removed HOT 2
- Not work HOT 1
- Trunk whole path in filename
- Feature request: exclude files HOT 1
- Xcode 8 name
- synx error happens HOT 1
- running synx with --no-color fails and deletes all the files
- Is it possible to separate convert logic into a couple of steps?
- Synx removes empty folder HOT 1
- Sorting isn't localized (ZZ sorts before aa)
- GUI Wrapper App
- Removing bridging header file from project HOT 2
- Since using Synx Xcode Assistant no longer works
- support Mojave in different configurations
- [SPM] The problem with incorrect interaction with Swift Package Manager HOT 3
- Please add me as a contributor to the project HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from synx.