Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce JS output-type + collections
- Loading branch information
Showing
24 changed files
with
747 additions
and
771 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Localicious Migration | ||
|
||
### From 0.9.x to 1.0.x | ||
|
||
Previously, we only allowed fixed groups (IOS|ANDROID|SHARED) in the Localicipe root. By introducing `collections` in Localicious v1.0.0, we're giving the user more control by letting them define their own groups. Collections can have any name and can be rendered in any output-type (`android`|`ios`|`js`). | ||
|
||
This is a breaking change, which means that existing commands need to be updated. | ||
Previously, all Android strings could be rendered using: | ||
`localicious render ./copy.yaml ./output_path --platforms android --languages en` | ||
|
||
Using Localicious v1.0.x, the same result can be achieved by changing the command to: | ||
`localicious render ./copy.yaml ./output_path --outputTypes android --languages en --collections ANDROID,SHARED` | ||
|
||
As you can see, `platforms` is renamed to `outputTypes`, and the new parameter `collections` is provided to specifiy which collections should be included in the output. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.