Browse Source

added tel 翻訳

KuniakiTakenaka 1 year ago
parent
commit
cddaed6e5a
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      index.html

+ 2
- 0
index.html View File

30
             setTimeout(() => {
30
             setTimeout(() => {
31
                 new google.translate.TranslateElement({
31
                 new google.translate.TranslateElement({
32
                     pageLanguage: 'ja',
32
                     pageLanguage: 'ja',
33
+                    includedLanguages: 'en,ko,ru,vi,zh-CN,zh-TW',
33
                     layout: google.translate.TranslateElement.InlineLayout.SIMPLE
34
                     layout: google.translate.TranslateElement.InlineLayout.SIMPLE
34
                 }, 'google_translate_element');
35
                 }, 'google_translate_element');
35
             }, 5000);
36
             }, 5000);
37
             setTimeout(() => {
38
             setTimeout(() => {
38
                 new google.translate.TranslateElement({
39
                 new google.translate.TranslateElement({
39
                     pageLanguage: 'ja',
40
                     pageLanguage: 'ja',
41
+                    includedLanguages: 'en,ko,ru,vi,zh-CN,zh-TW',
40
                     layout: google.translate.TranslateElement.InlineLayout.SIMPLE
42
                     layout: google.translate.TranslateElement.InlineLayout.SIMPLE
41
                 }, 'google_translate_element1');
43
                 }, 'google_translate_element1');
42
             }, 5000);
44
             }, 5000);

Loading…
Cancel
Save