aboutsummaryrefslogtreecommitdiff
path: root/content/matchlang.article
diff options
context:
space:
mode:
authorAgniva De Sarker <agnivade@yahoo.co.in>2018-04-14 00:23:09 +0530
committerAndrew Bonventre <andybons@golang.org>2018-04-13 19:50:50 +0000
commit7edc962a942e4a9d5e06dde79299f7fc5605f000 (patch)
treed05d3cbb132e60ace21a28184833cc4b31ef59c3 /content/matchlang.article
parentefc7460c787535c46feadda9f7c395f16a615306 (diff)
content: update all golang.org links to https
Ran sed -i 's/\[\[http:\/\/golang.org/\[\[https:\/\/golang.org/g' *.article Change-Id: I88acc5104e1a3fc5e9a1cf11b600b657202d8997 Reviewed-on: https://go-review.googlesource.com/106955 Run-TryBot: Andrew Bonventre <andybons@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Andrew Bonventre <andybons@golang.org>
Diffstat (limited to 'content/matchlang.article')
1 files changed, 4 insertions, 4 deletions
diff --git a/content/matchlang.article b/content/matchlang.article
index 8e7ebbf..47473ea 100644
--- a/content/matchlang.article
+++ b/content/matchlang.article
@@ -108,7 +108,7 @@ duration of a session.
_Using_a_“parent”_of_a_language_as_fallback_is_non-trivial_
Suppose your application supports Angolan Portuguese (“pt-AO”).
-Packages in [[http://golang.org/x/text]], like collation and display, may not
+Packages in [[https://golang.org/x/text]], like collation and display, may not
have specific support for this dialect.
The correct course of action in such cases is to match the closest parent dialect.
Languages are arranged in a hierarchy, with each specific language having a more
@@ -129,7 +129,7 @@ that is incomprehensible to the user.
* Language Matching in Go
-The Go package [[http://golang.org/x/text/language]] implements the BCP 47
+The Go package [[https://golang.org/x/text/language]] implements the BCP 47
standard for language tags and adds support for deciding which language to use
based on data published in the Unicode Common Locale Data Repository (CLDR).
@@ -266,7 +266,7 @@ handle more rules.
** Displaying Supported Languages
-The [[http://golang.org/x/text/language/display]] package allows naming language
+The [[https://golang.org/x/text/language/display]] package allows naming language
tags in many languages.
It also contains a “Self” namer for displaying a tag in its own language.
@@ -297,5 +297,5 @@ ad-hoc language matching using nothing other than string manipulation of the
language tags.
As described above, this can produce awful results.
-Go's [[http://golang.org/x/text/language]] package solves this complex problem
+Go's [[https://golang.org/x/text/language]] package solves this complex problem
while still presenting a simple, easy-to-use API. Enjoy.