We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d966778 commit 5b82bf8Copy full SHA for 5b82bf8
README.md
@@ -147,29 +147,29 @@ const translator = createUktiTranslator<Definition>({
147
en: {
148
friend: 'Friend',
149
regions: {
150
- US: {
+ US: { // United States
151
friend: 'Dude'
152
},
153
- CA: {
+ CA: { // Canada
154
friend: 'Buddy'
155
}
156
157
158
es: {
159
friend: 'Amigo',
160
161
- CO: {
+ CO: { // Colombia
162
friend: 'Parce'
163
164
- VN: {
+ VN: { // Venezuela
165
friend: 'Pana'
166
167
168
169
170
})
171
172
-const t = translator('es', 'CO')
+const t = translator('es', 'CO') // Spanish from Colombia
173
174
console.log(t.friend()) // 'Parce'
175
```
0 commit comments