File tree Expand file tree Collapse file tree 2 files changed +68
-0
lines changed Expand file tree Collapse file tree 2 files changed +68
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Supported Languages
2
+
3
+ | Code | Language |
4
+ | ---- | -------- |
5
+ | ar | Arabic |
6
+ | bg | Bulgarian |
7
+ | ca | Catalan |
8
+ | zh_cn | Chinese (Simplified) |
9
+ | zh_tw | Chinese (Traditional) |
10
+ | hr | Croatian |
11
+ | cs | Czech |
12
+ | da | Danish |
13
+ | nl | Dutch |
14
+ | en | English |
15
+ | en_gb | English (UK) |
16
+ | fa | Farsi |
17
+ | fil | Filipino |
18
+ | fi | Finnish |
19
+ | fr | French |
20
+ | de | German |
21
+ | el | Greek |
22
+ | iw | Hebrew |
23
+ | hi | Hindi |
24
+ | hu | Hungarian |
25
+ | id | Indonesian |
26
+ | it | Italian |
27
+ | ja | Japanese |
28
+ | ko | Korean |
29
+ | lv | Latvian |
30
+ | lt | Lithuanian |
31
+ | no | Norwegian (Bokmal) |
32
+ | pl | Polish |
33
+ | pt | Portuguese |
34
+ | pt_pt | Portuguese (Portugal) |
35
+ | ro | Romanian |
36
+ | ru | Russian |
37
+ | sr | Serbian |
38
+ | sk | Slovak |
39
+ | sl | Slovenian |
40
+ | es | Spanish |
41
+ | es_419 | Spanish (Latin America) |
42
+ | sv | Swedish |
43
+ | th | Thai |
44
+ | tr | Turkish |
45
+ | uk | Ukrainian |
46
+ | vi | Vietnamese |
Original file line number Diff line number Diff line change @@ -56,6 +56,28 @@ of your page, below the initialization snippet from the Firebase Console:
56
56
<link type =" text/css" rel =" stylesheet" href =" https://cdn.firebase.com/libs/firebaseui/2.1.1/firebaseui.css" />
57
57
```
58
58
59
+ #### Localized Widget
60
+
61
+ Localized versions of the widget are available through the CDN. To use a localized widget, load the
62
+ localized JS library instead of the default library:
63
+
64
+ ``` html
65
+ <script src =" https://www.gstatic.com/firebasejs/ui/2.1.1/firebase-ui-auth__{LANGUAGE_CODE}.js" ></script >
66
+ <link type =" text/css" rel =" stylesheet" href =" https://www.gstatic.com/firebasejs/ui/2.1.1/firebase-ui-auth.css" />
67
+ ```
68
+
69
+ where ` {LANGUAGE_CODE} ` is replaced by the code of the language you want. For example, the French
70
+ version of the library is available at
71
+ ` https://www.gstatic.com/firebasejs/ui/2.1.1/firebase-ui-auth__fr.js ` . The list of available
72
+ languages and their respective language codes can be found at [ LANGUAGES.md] ( LANGUAGES.md ) .
73
+
74
+ Right-to-left languages also require the right-to-left version of the stylesheet, available at
75
+ ` https://www.gstatic.com/firebasejs/ui/2.1.1/firebase-ui-auth-rtl.css ` , instead of the default
76
+ stylesheet. The supported right-to-left languages are Arabic (ar), Farsi (fa), and Hebrew (iw).
77
+
78
+ Internationalized binaries are currently not available in the GitHub repository due to dependencies
79
+ on translation infrastructure that are not compatible with open sourced tools.
80
+
59
81
### Option 2: npm Module
60
82
61
83
Install FirebaseUI and its dependencies via npm using the following command:
You can’t perform that action at this time.
0 commit comments