Skip to content

Commit 82a5f47

Browse files
khvilaboaHoussein Djirdeh
authored andcommitted
feature(translation): add Spanish translation (#442)
* Spanish file (first translation) * Languague related files * Fix * Replaced double quotes * Improved spanish translation * Minor improvements (spanish translation) * Some improvements (spanish translation) The GIT reserved words are kept without translate. * Removed english phrase * Updated analytics title * Updated spanish translation * Added missing fields (spanish translation) * Replaced tabs (spanish translation) * Changed some words to downcase (spanish translation)
1 parent 1f5af04 commit 82a5f47

File tree

4 files changed

+210
-185
lines changed

4 files changed

+210
-185
lines changed

src/auth/screens/language-settings.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,9 @@ export default [
5454
emojiCode: ':flag-de:',
5555
name: 'Deutsch',
5656
},
57+
{
58+
code: 'es',
59+
emojiCode: ':flag-es:',
60+
name: 'Español',
61+
},
5762
];

src/locale/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import I18n from 'react-native-i18n';
2-
32
import { common } from 'config';
4-
import { en, fr, nl, pt, ptBr, tr, ru, eo, gl, pl, de } from './languages';
3+
import { en, fr, nl, pt, ptBr, tr, ru, eo, gl, pl, de, es } from './languages';
54

65
I18n.fallbacks = true;
76
I18n.defaultLocale = common.defaultLocale;
@@ -14,6 +13,7 @@ I18n.translations = {
1413
pt,
1514
'pt-br': ptBr,
1615
ru,
16+
es,
1717
eo,
1818
gl,
1919
pl,

0 commit comments

Comments
 (0)