Skip to content

Commit

Permalink
Applanga Command Line Interface Version 1.0.102
Browse files Browse the repository at this point in the history
  • Loading branch information
steffen-roemer committed Nov 21, 2024
1 parent 810af51 commit 1f343e1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 112 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
*Applanga CLI Documentation:* <https://www.applanga.com/docs-integration/cli>
***

### Version 1.0.102 (21 Nov 2024)
#### Fixed
- Fixed initialize script and documentation for android / ios default setup
---

### Version 1.0.101 (5 Nov 2024)
#### Fixed
- Added error messages for contradictory configurations
Expand Down
106 changes: 1 addition & 105 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Applanga Localization Command Line Interface (CLI)

***
*Version:* 1.0.101
*Version:* 1.0.102

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

Expand Down Expand Up @@ -494,13 +494,6 @@ The base Android strings are located in `./app/src/main/res/values/strings.xml`,
"base_language": "en",
"pull": {
"target": [
{
"language": "en",
"file_format": "android_xml",
"export_empty": true,
"path": "./app/src/main/res/values/strings.xml",
"tag": "app:strings.xml"
},
{
"exclude_languages": ["en"],
"file_format": "android_xml",
Expand All @@ -516,12 +509,6 @@ The base Android strings are located in `./app/src/main/res/values/strings.xml`,
"file_format": "android_xml",
"path": "./app/src/main/res/values/strings.xml",
"tag": "app:strings.xml"
},
{
"exclude_languages": ["en"],
"file_format": "android_xml",
"path": "./app/src/main/res/values-<language>/strings.xml",
"tag": "app:strings.xml"
}
]
}
Expand All @@ -540,39 +527,18 @@ Apps can have strings in multiple files or in shared libraries. You can specify
"base_language": "en",
"pull": {
"target": [
{
"language": "en",
"file_format": "android_xml",
"export_empty": true,
"tag": "app:strings.xml",
"path": "./app/src/main/res/values/strings.xml"
},
{
"exclude_languages": ["en"],
"file_format": "android_xml",
"tag": "app:strings.xml",
"path": "./app/src/main/res/values-<language>/strings.xml"
},
{
"language": "en",
"file_format": "android_xml",
"export_empty": true,
"tag": "app:other.xml",
"path": "./app/src/main/res/values/other.xml"
},
{
"exclude_languages": ["en"],
"file_format": "android_xml",
"tag": "module:other.xml",
"path": "./app/src/main/res/values-<language>/other.xml"
},
{
"language": "en",
"file_format": "android_xml",
"export_empty": true,
"tag": "module:strings.xml",
"path": "./mylibrary/src/main/res/values/strings.xml"
},
{
"exclude_languages": ["en"],
"file_format": "android_xml",
Expand All @@ -589,35 +555,17 @@ Apps can have strings in multiple files or in shared libraries. You can specify
"tag": "app:strings.xml",
"path": "./app/src/main/res/values/strings.xml"
},
{
"exclude_languages": ["en"],
"file_format": "android_xml",
"tag": "app:strings.xml",
"path": "./app/src/main/res/values-<language>/strings.xml"
},
{
"language": "en",
"file_format": "android_xml",
"tag": "app:other.xml",
"path": "./app/src/main/res/values/other.xml"
},
{
"exclude_languages": ["en"],
"file_format": "android_xml",
"tag": "app:other.xml",
"path": "./app/src/main/res/values-<language>/other.xml"
},
{
"language": "en",
"file_format": "android_xml",
"tag": "module:strings.xml",
"path": "./mylibrary/src/main/res/values/strings.xml"
},
{
"exclude_languages": ["en"],
"file_format": "android_xml",
"tag": "module:strings.xml",
"path": "./mylibrary/src/main/res/values-<language>/strings.xml"
}
]
}
Expand All @@ -637,13 +585,6 @@ If Base Localization is enabled, the base iOS strings are located in `./Base.lpr
"base_language": "en",
"pull": {
"target": [
{
"language": "en",
"file_format": "ios_strings",
"export_empty": true,
"path": "./Base.lproj/Localizable.strings",
"tag": "app:Localizable.strings"
},
{
"exclude_languages": ["en"],
"file_format": "ios_strings",
Expand All @@ -659,12 +600,6 @@ If Base Localization is enabled, the base iOS strings are located in `./Base.lpr
"file_format": "ios_strings",
"path": "./Base.lproj/Localizable.strings",
"tag": "app:Localizable.strings"
},
{
"exclude_languages": ["en"],
"file_format": "ios_strings",
"path": "./<language>.lproj/Localizable.strings",
"tag": "app:Localizable.strings"
}
]
}
Expand All @@ -689,39 +624,18 @@ For Pluralization, apple introduced the [.stringsdict File Format](https://devel
"base_language": "en",
"pull": {
"target": [
{
"language": "en",
"file_format": "ios_strings",
"tag": "app:Localizable.strings",
"export_empty": true,
"path": "./Base.lproj/Localizable.strings"
},
{
"exclude_languages": ["en"],
"file_format": "ios_strings",
"tag": "app:Localizable.strings",
"path": "./<language>.lproj/Localizable.strings"
},
{
"language": "en",
"file_format": "ios_stringsdict",
"tag": "app:Localizable.strings",
"export_empty": true,
"path": "./Base.lproj/Localizable.stringsdict"
},
{
"exclude_languages": ["en"],
"file_format": "ios_stringsdict",
"tag": "app:Localizable.strings",
"path": "./<language>.lproj/Localizable.stringsdict"
},
{
"language": "en",
"file_format": "ios_strings",
"tag": "storyboard:Localizable.strings",
"export_empty": true,
"path": "./Base.lproj/MainStoryboard.strings"
},
{
"exclude_languages": ["en"],
"file_format": "ios_strings",
Expand All @@ -739,35 +653,17 @@ For Pluralization, apple introduced the [.stringsdict File Format](https://devel
"export_empty": true,
"path": "./Base.lproj/Localizable.strings"
},
{
"exclude_languages": ["en"],
"file_format": "ios_strings",
"tag": "app:Localizable.strings",
"path": "./<language>.lproj/Localizable.strings"
},
{
"language": "en",
"file_format": "ios_stringsdict",
"tag": "app:Localizable.strings",
"path": "./Base.lproj/Localizable.stringsdict"
},
{
"exclude_languages": ["en"],
"file_format": "ios_stringsdict",
"tag": "app:Localizable.strings",
"path": "./<language>.lproj/Localizable.stringsdict"
},
{
"language": "en",
"file_format": "ios_strings",
"tag": "storyboard:Localizable.strings",
"path": "./Base.lproj/MainStoryboard.strings"
},
{
"exclude_languages": ["en"],
"file_format": "ios_strings",
"tag": "storyboard:Localizable.strings",
"path": "./<language>.lproj/MainStoryboard.strings"
}
]
}
Expand Down
6 changes: 0 additions & 6 deletions commands/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,6 @@ def init(ctx):
'file_format': file_format,
'path': baselanguage_path,
'tag': tag
},
{
'exclude_languages': [base_language],
'file_format': file_format,
'path': source_path,
'tag': tag
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion lib/constants.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NUMBER = '1.0.101'
VERSION_NUMBER = '1.0.102'
APPLANGA_HOST = 'https://api.applanga.com'
API_BASE_PATH = '/v1/api'
CONFIG_FILE_NAME = '.applanga.json'
Expand Down

0 comments on commit 1f343e1

Please sign in to comment.