Skip to content

Commit

Permalink
Release 2.0.104
Browse files Browse the repository at this point in the history
  • Loading branch information
steffen-roemer committed Jun 25, 2018
1 parent 4e4b76e commit 1f862f3
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
Binary file modified Applanga.framework/Applanga
Binary file not shown.
Binary file modified Applanga.framework/Info.plist
Binary file not shown.
4 changes: 2 additions & 2 deletions Applanga.podspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|
s.name = "Applanga"
s.version = "2.0.103"
s.version = "2.0.104"
s.summary = "This is the iOS SDK for Applanga."
s.homepage = "http://applanga.com"
s.license = { :type => 'Commercial', :file => 'LICENSE' }
s.author = { "Mbaas Development GmbH" => "developer@applanga.com" }
s.source = { :git => "https://github.com/applanga/sdk-ios.git", :tag => "2.0.103" }
s.source = { :git => "https://github.com/applanga/sdk-ios.git", :tag => "2.0.104" }
s.platform = :ios, '9.0'
s.frameworks = 'SystemConfiguration'
s.library = 'sqlite3', 'z'
Expand Down
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
# Applanga SDK for iOS Localization CHANGELOG
***
*URL:* <https://www.applanga.com>
*Website:* <https://www.applanga.com>

*Applanga iOS Documentation:* <https://www.applanga.com/docs-integration/ios>
***
### Version 2.0.104 (25 Jun 2018)
#### Added
- documentation update for automated push notification localization
- documentation update for App Name localization and Usage description Localization e.g. (CFBundleDisplayName, NSCalendarsUsageDescription, NSPhotoLibraryUsageDescription, NSCameraUsageDescription, NSHealthShareUsageDescription, NSHealthUpdateUsageDescription)

---
### Version 2.0.103 (31 May 2018)
#### Added
- support for delta string updates / smaller response size
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Applanga SDK for iOS Localization
***
*Version:* 2.0.103
*Version:* 2.0.104

*Website:* <https://www.applanga.com>

Expand Down Expand Up @@ -65,7 +65,7 @@ Paste the following line in this `Run Script Phase`'s script text field:
### Basic:

- Once Applanga is integrated and configured it synchronizes your local strings with the Applanga dashboard every time you start your app in [Debug Mode](https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/debugging_with_xcode/chapters/debugging_tools.html) or [Draft Mode](https://applanga.com/docs#draft_on_device_testing) if new missing strings are found. Translations that you have stored in your *"Localizable.strings"* file or in *".strings""* that belong to storyboard or xib files of your app will be sent to the dashboard immediately. Applanga also auto detects your strings in storyboards and in the code once they are used.
Storyboards should be enabled for [Base Localization](https://developer.apple.com/library/ios/documentation/MacOSX/Conceptual/BPInternational/InternationalizingYourUserInterface/InternationalizingYourUserInterface.html#//apple_ref/doc/uid/10000171i-CH3-SW4). If you have additional *".strings"* files that should be automatically uploaded you can add them in your Info.plist with the key **ApplangaAdditionalStringFiles** as a comma seperated list. You don’t need to use any special code.
Storyboards should be enabled for [Base Localization](https://developer.apple.com/library/ios/documentation/MacOSX/Conceptual/BPInternational/InternationalizingYourUserInterface/InternationalizingYourUserInterface.html#//apple_ref/doc/uid/10000171i-CH3-SW4). If you have additional *".strings"* files that should be automatically uploaded you can add them in your Info.plist with the key **ApplangaAdditionalStringFiles** & if you have parts of your code in additional *".framework"* bundles you can add them with the key **ApplangaAdditionalFrameworks** as a comma seperated lists. You don’t need to use any special code.
- With ***Objective-C*** use the native method ***[NSLocalizedStringWithDefaultValue(@"APPLANGA_ID", nil, NSBundle.mainBundle, @"default value", @"")](https://developer.apple.com/reference/foundation/nslocalizedstringwithdefaultvalue?language=objc)***

- With ***Swift*** use ***[NSLocalizedString("APPLANGA_ID", value: "default value", comment: "")](https://developer.apple.com/reference/foundation/1418095-nslocalizedstring)*** like you are used to do.
Expand Down Expand Up @@ -494,7 +494,6 @@ Besides the Basic usage Applanga offers support for ***named arguments*** in you
waitForExpectations(timeout: 3, handler: nil)
}
```

## Optional settings

Expand Down Expand Up @@ -559,3 +558,7 @@ You can specify a set of default groups and languages in your plist, which will
```
bash update-settingsfile.sh ${YOUR TARGET DIRECTORY PATH}
```

## Automatic Push Notification Localization and InfoPlist.strings

With the Applanga SDK you can only localize local notifications because remote notifications, the app display name (CFBundleDisplayName) as well as the several other NS*UsageDescription etc strings defined in your Info.plist are not using the app runtime and therefore can not be localized at runtime with a SDK. For these kind of strings you can use the [Applanga Command Line Interface](https://www.applanga.com/docs-integration/cli) to manage the strings on the [Applanga Dashboard](https://dashboard.applanga.com) and update the InfoPlist.strings files whenever you create a new build.

0 comments on commit 1f862f3

Please sign in to comment.