b123400 / xliffie Goto Github PK
View Code? Open in Web Editor NEWA localization assistance for iOS / Mac app.
Home Page: https://itunes.apple.com/us/app/xliffie/id961651406
License: GNU General Public License v3.0
A localization assistance for iOS / Mac app.
Home Page: https://itunes.apple.com/us/app/xliffie/id961651406
License: GNU General Public License v3.0
For me FGTranslator did not install if I did not install all the other pod files first.
So first I commented out this line:
pod "FGTranslator", :git => "[email protected]:b123400/FGTranslator.git", :branch => "refactor"
then I did "pod install" and then I commented above line back in. Then everything installed fine.
The info plist specifies empty type identifiers for the .xcloc and .xliff file types, causing the UTI for those types to become a dynamic one when the app is installed.
Below is an example of correct info plist entries (this is from our app).
Note the LSItemContentTypes and UTImportedTypeDeclarations. Without UTImportedTypeDeclarations, you re-declare the UTIs as your own.
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>xliff</string>
</array>
<key>CFBundleTypeMIMETypes</key>
<array/>
<key>CFBundleTypeName</key>
<string>XLIFF</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSHandlerRank</key>
<string>Default</string>
<key>LSItemContentTypes</key>
<array>
<string>org.oasis-open.xliff</string>
</array>
<key>LSTypeIsPackage</key>
<integer>0</integer>
<key>NSDocumentClass</key>
<string>$(PRODUCT_MODULE_NAME).DocumentClassNameHere</string>
</dict>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>xcloc</string>
</array>
<key>CFBundleTypeName</key>
<string>Xcode Localization Catalog</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSHandlerRank</key>
<string>Default</string>
<key>LSItemContentTypes</key>
<array>
<string>com.apple.xcode.xcloc</string>
</array>
<key>LSTypeIsPackage</key>
<integer>0</integer>
<key>NSDocumentClass</key>
<string>$(PRODUCT_MODULE_NAME).DocumentClassNameHere</string>
</dict>
</array>
<key>UTImportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.xml</string>
</array>
<key>UTTypeDescription</key>
<string>XML Localization Interchange File Format</string>
<key>UTTypeIdentifier</key>
<string>org.oasis-open.xliff</string>
<key>UTTypeReferenceURL</key>
<string>http://docs.oasis-open.org/xliff/xliff-core/xliff-core.html</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>xliff</string>
</array>
</dict>
</dict>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.directory</string>
</array>
<key>UTTypeDescription</key>
<string>Xcode Localization Catalog</string>
<key>UTTypeIdentifier</key>
<string>com.apple.xcode.xcloc</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>xcloc</string>
</array>
</dict>
</dict>
</array>
Hi,
It would be nice to have filters for untranslated strings and translations with warnings which can be turned on/off in combination or separately.
Best regards,
Najdan Tomić
'pod update' seems cannot download BRLocaleMap
any idea how to solve this problem?
Thanks
Pre-downloading: `BRLocaleMap` from `[email protected]:b123400/BRLocaleMap.git`, submodules `true`
[!] Error installing BRLocaleMap
[!] Failed to download 'BRLocaleMap'.
The AppStore version crashes at startup. I emailed the crashlog with the stack trace.
I was eventually able to get this repo built and running after I messed around with the pod file and made a local podspec for FGTranslator. It isn't perfect but it works now.
Xliffie should support Xcode's localisation format.
The old version of Xcode outputs .xliff files by their locale name in the same directory, something like /MyApp/de.xliff
/MyApp/ja.xliff
.
To support this folder structure, Xliffie has the following behaviours:
/MyApp
in the above example), instead of just individual files. All the .xliff files inside the folder (recursively) will be opened./MyApp/de.xliff
is en -> de
/MyApp/ja.xliff
is en -> ja
.de -> ja
or ja -> de
.Combining both behaviours, you can expect when you open a folder with Xliffie, all the .xliff will be opened within a single window, and the translations are associated.
In the new version of Xcode, the output folder structure is changed:
This issue is about:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.