Skip to content

Commit 76db66d

Browse files
authored
Merge pull request #96 from cquiroz/v0.3.7-cldr31
v0.3.7
2 parents f3aad17 + 2636173 commit 76db66d

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

README.md

+20-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ The Java API requires a default `Locale` though it doesn't mandate a specific on
6161

6262
While the Java Locales use the OS default locale, on `Scala.js` platforms like browsers or node.js, there is no reliable way to identify the default locale. `scala-java-locales` sets `en (English)` as the default locale and **does not** attempt to determine the correct locale for the environment. This is a desigs decision to support the many API calls that require a default locale. It seems that `Scala.js` _de facto_ uses `en` for number formatting.
6363

64-
6564
## CLDR
6665

6766
`java.util.Locale` is a relatively simple class and by itself it doesn't provide too much functionality. The key for its usefulness is on providing data about the locale especially in terms of classes like `java.text.DecimalFormatSymbols`, `java.text.DateFormatSymbols`, etc. The [Unicode CLDR](http://cldr.unicode.org/) project is a large repository of locale data that can be used to build the supporting classes, e.g. to get the `DecimalFormatSymbols` for a given locale.
@@ -94,6 +93,26 @@ A very simple `Scala.js` project is available at [scalajs-locales-demo](https://
9493
0.3.3-cldr31 // Version 0.3.3 with CLDR version 31
9594
```
9695

96+
## Publishing
97+
98+
on 0.6.18
99+
```
100+
sbt
101+
clean
102+
+publishSigned
103+
sonatyeRelease
104+
```
105+
106+
Important: Remember to clean between different scala.js versions
107+
108+
on 1.0.0-M1
109+
```
110+
SCALAJS_VERSION=1.0.0-M1 sbt
111+
clean
112+
+publishSigned
113+
sonatyeRelease
114+
```
115+
97116
## License
98117

99118
Copyright © 2016 Carlos Quiroz

build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ lazy val downloadFromZip: TaskKey[Unit] =
77

88
val commonSettings: Seq[Setting[_]] = Seq(
99
cldrVersion := "31",
10-
version := s"0.3.6-cldr${cldrVersion.value}",
10+
version := s"0.3.7-cldr${cldrVersion.value}",
1111
organization := "io.github.cquiroz",
1212
scalaVersion := "2.11.11",
1313
crossScalaVersions := Seq("2.10.6", "2.11.11", "2.12.2"),

0 commit comments

Comments
 (0)