Comments (5)
You mean your are localizing your Info.plist using Base-Localization having a Info.plist
file under Base.lproj and multiple Info.strings
files under your language codes? Well, to be honest, until now I have not added any string extraction feature (both code and Storyboards are supported by Apple command line tools). But since the Info.plist is an XML file it should be possible.
You probably wouldn't want to translate all values though, only some. How would we know which once to localize? Maybe add something like #bc-localize!
similar to #bc-ignore!
?
Another question: Do the number of localized fields change often? If not, than I think doing the changes by hand shouldn't bee too much of a horror. At least not as much as it was with Code and Interface Builder files before BartyCrouch existed. ^^
from bartycrouch.
Yes, I am in fact using an InfoPlist.strings
file under my localizations. You are right that there are not a lot of strings to localize and they do not change very often. However, I would much likely appreciate such a tool just to make sure everything is up to date.
from bartycrouch.
I'm all okay with this feature but since it doesn't solve a big problem I'm very unlikely to ever have the spare time to implement it. I'd be happy to merge a good Pull Request with such a feature though. I think the biggest part would be to extract the strings to be localized from within the plist file.
from bartycrouch.
Also note that there are many apps (e.g. Linguan) that give you an overview of all your translations and let you update them easily. BartyCrouch is only here to make sure new keys are added from files that change often (Code & IB Files). I think you can find yourself a nice and simple solution for the Info.plist file using one of those tools.
from bartycrouch.
After having a second thought on this I consider this out of scope of BartyCrouch's features. See my previous comments for rationale.
from bartycrouch.
Related Issues (20)
- Can't build project after upgrade bartycrouch to 4.8.0
- Explicit folders on the `codePaths` argument shouldn't be ignored later. HOT 5
- NSLocationTemporaryUsageDescriptionDictionary translations gets removed HOT 6
- Cocoapods executable doesn't work on x86 machines HOT 19
- Embed lib_InternalSwiftSyntaxParser.dylib into package HOT 3
- error: the target 'SwiftSyntax' in product 'SwiftSyntax' contains unsafe build flags HOT 4
- Support for none default Xcode install path HOT 1
- Add new line on every translation after normalize HOT 2
- Translate successful but no output for Storyboards Main.string file HOT 3
- BartyCrouch with SwiftGen creates empty string values HOT 2
- [Feat] Autogenerate `.strings` files HOT 3
- `overrideComments` option doesn't work HOT 4
- [Bug] CI failed for version 4.12.0 HOT 2
- [Bug] update.code with additive=false and code in multiple parent directories looses strings HOT 5
- [Feat] Tip: How to localize LocalizedStringResource types with bartycrouch HOT 3
- [Feat] Support for modular application HOT 4
- [Bug] Translation Microya.ApiError<Microya.EmptyBodyResponse> error 3 HOT 2
- [Bug] PodSpec does not support iOS anymore HOT 7
- [Feat] Extract localizable Strings from SwiftUI Text HOT 1
- [Question/Bug] : .bartycrouch.toml permission errors on dependent test build HOT 7
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 bartycrouch.