Skip to content

Commit 2326a32

Browse files
DerStoffelweaverryan
authored andcommitted
added links to the locale description for ISO standards on ISO639-1 and ISO3166-1 Alpha-2
1 parent 8e0ec1c commit 2326a32

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

book/translation.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ the user::
2222
The term *locale* refers roughly to the user's language and country. It
2323
can be any string that your application then uses to manage translations
2424
and other format differences (e.g. currency format). We recommended the
25-
ISO639-1 *language* code, an underscore (``_``), then the ISO3166 *country*
25+
`ISO639-1`_ *language* code, an underscore (``_``), then the `ISO3166 Alpha-2`_ *country*
2626
code (e.g. ``fr_FR`` for French/France).
2727

2828
In this chapter, we'll learn how to prepare an application to support multiple
@@ -954,3 +954,5 @@ steps:
954954
.. _`strtr function`: http://www.php.net/manual/en/function.strtr.php
955955
.. _`ISO 31-11`: http://en.wikipedia.org/wiki/Interval_%28mathematics%29#The_ISO_notation
956956
.. _`Translatable Extension`: https://github.com/l3pp4rd/DoctrineExtensions
957+
.. _`ISO3166 Alpha-2`: http://en.wikipedia.org/wiki/ISO_3166-1#Current_codes
958+
.. _`ISO639-1`: http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes

0 commit comments

Comments
 (0)