Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

Aqui está a pull request mais inútil de todos os tempos #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![codecov](https://codecov.io/gh/marcospereira/play-i18n-hocon/branch/master/graph/badge.svg)](https://codecov.io/gh/marcospereira/play-i18n-hocon) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/af05a1d033aa4256af5329a6f4711721)](https://www.codacy.com/app/marcospereira/play-i18n-hocon?utm_source=github.com&utm_medium=referral&utm_content=marcospereira/play-i18n-hocon&utm_campaign=Badge_Grade) [![Maven](https://img.shields.io/maven-central/v/com.github.marcospereira/play-hocon-i18n_2.12.svg)](http://mvnrepository.com/artifact/com.github.marcospereira/play-hocon-i18n_2.12)


[HOCON](https://github.com/typesafehub/config/blob/v1.3.0/HOCON.md) (Human-Optimized Config Object Notation) and Typesafe Config are the standard way to [configure Play applications](https://www.playframework.com/documentation/2.5.x/Configuration). But, for Internationalization, Play uses [Java Properties](https://docs.oracle.com/javase/tutorial/essential/environment/properties.html) which don't have a syntax to structure an tree of keys used to i18n.
[HOCON](https://github.com/typesafehub/config/blob/v1.3.0/HOCON.md) (Human-Optimized Config Object Notation) and Typesafe Config are the standard way to [configure Play applications](https://www.playframework.com/documentation/2.5.x/Configuration). But, for Internationalization, Play uses [Java Properties](https://docs.oracle.com/javase/tutorial/essential/environment/properties.html) which lack a syntax to structure a tree of keys used to i18n.

This plugin offers that by using HOCON as the language for I18n too, so your `messages` files will be like:

Expand Down Expand Up @@ -71,4 +71,4 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.