Lines 8-14
Link Here
|
8 |
sourceLanguage: 'en', |
8 |
sourceLanguage: 'en', |
9 |
destinationLanguage: ['hi','kn','ml','ta','te'], |
9 |
destinationLanguage: ['hi','kn','ml','ta','te'], |
10 |
shortcutKey: 'ctrl+g', |
10 |
shortcutKey: 'ctrl+g', |
11 |
transliterationEnabled: true |
11 |
transliterationEnabled: false |
12 |
}; |
12 |
}; |
13 |
|
13 |
|
14 |
// Create an instance on TransliterationControl with the required |
14 |
// Create an instance on TransliterationControl with the required |
Lines 17-23
Link Here
|
17 |
new google.elements.transliteration.TransliterationControl(options); |
17 |
new google.elements.transliteration.TransliterationControl(options); |
18 |
|
18 |
|
19 |
// Enable transliteration in the textfields with the given ids. |
19 |
// Enable transliteration in the textfields with the given ids. |
20 |
var ids = [ "transl1" ]; |
20 |
var ids = [ "translControl1" ]; |
21 |
control.makeTransliteratable(ids); |
21 |
control.makeTransliteratable(ids); |
22 |
|
22 |
|
23 |
// Show the transliteration control which can be used to toggle between |
23 |
// Show the transliteration control which can be used to toggle between |
24 |
- |
|
|