Skip to content

Commit

Permalink
Merge branch 'master' of github.com:williampollet/yaml_to_json_kata
Browse files Browse the repository at this point in the history
  • Loading branch information
williampollet committed May 15, 2019
2 parents 96c202f + eead5e4 commit 274a0bd
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ This new format repeats several times the locales, but it presents the following
- the missing translations are quicker to spot
- as the translations for one key are gathered in one place, it is not necessary to browse several files to translate a value in every languages

## exercise
## Exercise

When the translation file is consequent (several thousands lines), and the number of languages is high, it can be painful to migrate without automation.

Would you be able to write a script to automate the work ? A test driven approach is advised !

## tips
## Tips

This section is optional. It presents several technical functions that will help you trough the exercise.

Expand All @@ -82,7 +82,7 @@ This section is optional. It presents several technical functions that will help

</details>

## help
## Help

This section is optional. It will help you get through the exercise by giving you general advices and directions. :warning: It contains spoils regarding a technique to get trough. Unfurl at your own risks ! :warning:

Expand All @@ -96,6 +96,7 @@ If you don't know how to begin, consider doing the exercise step by step:
* then you can create a function capable of migrating several nested keys, for a more complex hash
* then you can create a function capable of migrating a full file
* then you can create a function capable of migrating several files (for several languages)

</details>

Algorithms tips:
Expand All @@ -104,7 +105,7 @@ Algorithms tips:
</details>
</details>

### Credits
## Credits

* Thanks to [LaLibertad](https://github.com/lalibertad) for providing the translations [test set](https://github.com/lalibertad/consul/tree/master/config/locales)
* Thanls to [sunny](https://github.com/sunny) for the design of the flat translation format
* Thanks to [sunny](https://github.com/sunny) for the design of the flat translation format

0 comments on commit 274a0bd

Please sign in to comment.