Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
fc55554
add i18next
outofambit Jan 5, 2020
35b1dce
add i18next scanner grunt task
outofambit Jan 5, 2020
c651a82
Update Gruntfile.js
outofambit Jan 5, 2020
d3466c3
Create internationalization.js
outofambit Jan 6, 2020
a921d10
testt drive
outofambit Jan 6, 2020
aa8a42f
Revert "Update Gruntfile.js"
outofambit Jan 6, 2020
2d26d15
Revert "add i18next scanner grunt task"
outofambit Jan 6, 2020
2e45438
remove i18next-scanner
outofambit Jan 6, 2020
e985c1d
add babel-plugin-i18next-extract
outofambit Jan 6, 2020
4b4627b
add config for i18next-extract
outofambit Jan 6, 2020
501c64a
dummy translator
outofambit Jan 6, 2020
ebf9233
begin translation key extraction
outofambit Jan 6, 2020
98bb298
better i18n keys
outofambit Jan 6, 2020
2c93b35
less config needed
outofambit Jan 6, 2020
a804820
reorder
outofambit Jan 6, 2020
70ce0e2
Update translation.json
outofambit Jan 6, 2020
b355fc7
add nesting config
outofambit Jan 6, 2020
30173f1
Update translation.json
outofambit Jan 6, 2020
ce49e06
different syntax for file load errors
outofambit Jan 6, 2020
3b873ae
setup language detector
outofambit Jan 6, 2020
e505274
create translations index
outofambit Jan 6, 2020
d4b73cf
wire up translation loading
outofambit Jan 6, 2020
28160c3
Update translation.json
outofambit Jan 6, 2020
a5bb89b
Update internationalization.js
outofambit Jan 6, 2020
7facf08
simplify
outofambit Jan 6, 2020
f7a945c
remove acorn
outofambit Jan 6, 2020
ba5d09c
cleanup
outofambit Jan 6, 2020
e6ce5e9
arguments not args
outofambit Jan 6, 2020
e1e21c5
Update internationalization.js
outofambit Jan 6, 2020
1643935
rework i18next init
outofambit Feb 17, 2020
dd9d2c8
force loading translations before we init p5
outofambit Feb 17, 2020
210f428
fix translator import
outofambit Feb 19, 2020
a63cd45
expand i18n to fes log prefix
outofambit Feb 19, 2020
50ce2bd
add test
outofambit Feb 19, 2020
2dfa5ce
add autopolay error to i18n keys
outofambit Feb 24, 2020
68470e7
move server link into code, out of translations
outofambit Feb 24, 2020
6804957
more inline documentation
outofambit Feb 24, 2020
80c8dc9
Update internationalization.js
outofambit Feb 24, 2020
89df8cc
don't split up url string
outofambit Feb 24, 2020
51e8b8b
fix up autoplay message
outofambit Feb 24, 2020
4d47744
i18n more fes messages
outofambit Feb 24, 2020
03c3c28
add asterisk to pre
outofambit Feb 24, 2020
0ba6e0f
move file load error strings under fes key
outofambit Feb 24, 2020
92f59b1
exclude translations from mini build
outofambit Feb 24, 2020
68ea053
add initial stub translator fn
outofambit Feb 24, 2020
10741fa
flowers 🌸
outofambit Feb 25, 2020
9097ca3
add i18n contributor guide
outofambit Feb 25, 2020
c5a1e3b
another note
outofambit Feb 25, 2020
8d2cf3d
add autoplay message en español
outofambit Feb 25, 2020
286372f
tweak
outofambit Feb 25, 2020
7447e2d
fix typeof check
outofambit Feb 25, 2020
288e55e
disable interpolation and language list check
outofambit Feb 25, 2020
fbc8539
Merge branch 'master' into i18next
lmccart Feb 28, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
dummy translator
  • Loading branch information
outofambit committed Feb 25, 2020
commit 501c64acc7592b4fad1418139b5f8a0d12e5a5d3
5 changes: 4 additions & 1 deletion src/core/internationalization.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import i18next from 'i18next';

let translator;
let translator = () => {
console.log('Translations are still loading...');
return '';
};

i18next
.use(i18nextBrowserLanguageDetector)
Expand Down