├── .github └── workflows │ ├── build-test.yml │ └── publish.yml ├── .gitignore ├── README.md ├── project ├── build.properties ├── plugins.sbt └── sonatype.sbt └── src ├── main ├── resources │ └── reference.conf └── scala │ └── play │ ├── api │ └── i18n │ │ └── MessagesParser.scala │ └── ext │ └── i18n │ ├── Format.scala │ ├── MessageFile.scala │ ├── MessagesLoaders.scala │ ├── MultiFormatMessageLoadersModule.scala │ ├── MultiFormatMessagesModule.scala │ ├── i18n.scala │ └── loaders │ ├── PropertyFileLoader.scala │ └── YamlFileLoader.scala └── test ├── resources ├── logger.xml ├── messages ├── messages.cs ├── messages.cs.yaml ├── messages.en ├── messages.en.yaml ├── messages.yaml ├── messages.yaml.cs ├── messages.yaml.en ├── reference.conf ├── test ├── test_js.json └── test_js.json.cs └── scala └── play └── ext └── i18n ├── MultiFormatMessagingPluginSpec.scala └── loaders └── YamlFileLoaderSpecs.scala /.github/workflows/build-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/.github/workflows/build-test.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/README.md -------------------------------------------------------------------------------- /project/build.properties: -------------------------------------------------------------------------------- 1 | sbt.version=1.9.7 2 | -------------------------------------------------------------------------------- /project/plugins.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/project/plugins.sbt -------------------------------------------------------------------------------- /project/sonatype.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/project/sonatype.sbt -------------------------------------------------------------------------------- /src/main/resources/reference.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/src/main/resources/reference.conf -------------------------------------------------------------------------------- /src/main/scala/play/api/i18n/MessagesParser.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/src/main/scala/play/api/i18n/MessagesParser.scala -------------------------------------------------------------------------------- /src/main/scala/play/ext/i18n/Format.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/src/main/scala/play/ext/i18n/Format.scala -------------------------------------------------------------------------------- /src/main/scala/play/ext/i18n/MessageFile.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/src/main/scala/play/ext/i18n/MessageFile.scala -------------------------------------------------------------------------------- /src/main/scala/play/ext/i18n/MessagesLoaders.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/src/main/scala/play/ext/i18n/MessagesLoaders.scala -------------------------------------------------------------------------------- /src/main/scala/play/ext/i18n/MultiFormatMessageLoadersModule.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/src/main/scala/play/ext/i18n/MultiFormatMessageLoadersModule.scala -------------------------------------------------------------------------------- /src/main/scala/play/ext/i18n/MultiFormatMessagesModule.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/src/main/scala/play/ext/i18n/MultiFormatMessagesModule.scala -------------------------------------------------------------------------------- /src/main/scala/play/ext/i18n/i18n.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/src/main/scala/play/ext/i18n/i18n.scala -------------------------------------------------------------------------------- /src/main/scala/play/ext/i18n/loaders/PropertyFileLoader.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/src/main/scala/play/ext/i18n/loaders/PropertyFileLoader.scala -------------------------------------------------------------------------------- /src/main/scala/play/ext/i18n/loaders/YamlFileLoader.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/src/main/scala/play/ext/i18n/loaders/YamlFileLoader.scala -------------------------------------------------------------------------------- /src/test/resources/logger.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/src/test/resources/logger.xml -------------------------------------------------------------------------------- /src/test/resources/messages: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/src/test/resources/messages -------------------------------------------------------------------------------- /src/test/resources/messages.cs: -------------------------------------------------------------------------------- 1 | a.b.c = a={0} b={1} c={2} in cs -------------------------------------------------------------------------------- /src/test/resources/messages.cs.yaml: -------------------------------------------------------------------------------- 1 | e: something in czech 2 | -------------------------------------------------------------------------------- /src/test/resources/messages.en: -------------------------------------------------------------------------------- 1 | a.b.c = a={0} b={1} c={2} in en -------------------------------------------------------------------------------- /src/test/resources/messages.en.yaml: -------------------------------------------------------------------------------- 1 | e: something in english 2 | -------------------------------------------------------------------------------- /src/test/resources/messages.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/src/test/resources/messages.yaml -------------------------------------------------------------------------------- /src/test/resources/messages.yaml.cs: -------------------------------------------------------------------------------- 1 | a: 2 | b.d: a={0} b={1} c={2} in cs -------------------------------------------------------------------------------- /src/test/resources/messages.yaml.en: -------------------------------------------------------------------------------- 1 | a: 2 | b.d: a={0} b={1} c={2} in en -------------------------------------------------------------------------------- /src/test/resources/reference.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/src/test/resources/reference.conf -------------------------------------------------------------------------------- /src/test/resources/test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/src/test/resources/test -------------------------------------------------------------------------------- /src/test/resources/test_js.json: -------------------------------------------------------------------------------- 1 | {"x.y.z": "x={0} y={1} z={2}"} -------------------------------------------------------------------------------- /src/test/resources/test_js.json.cs: -------------------------------------------------------------------------------- 1 | {"x.y": {"z": "x={0} y={1} z={2} in cs"}} -------------------------------------------------------------------------------- /src/test/scala/play/ext/i18n/MultiFormatMessagingPluginSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/src/test/scala/play/ext/i18n/MultiFormatMessagingPluginSpec.scala -------------------------------------------------------------------------------- /src/test/scala/play/ext/i18n/loaders/YamlFileLoaderSpecs.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarelCemus/play-i18n/HEAD/src/test/scala/play/ext/i18n/loaders/YamlFileLoaderSpecs.scala --------------------------------------------------------------------------------