Internationalization

Overview

You can modify all strings in RyuseiCode through the i18n option. Although some strings are not visible, you should translate all of them for accessibility.

new RyuseiCode( {
i18n: {
copy: 'Copy',
cut : 'Cut',
...
},
} );
JavaScript

Note that %s in strings below will be replaced by proper values when they are used.

List of i18n

Main

{
copy : 'Copy',
cut : 'Cut',
paste : 'Paste',
selectAll : 'Select All',
close : 'Close',
confirm : 'OK',
activate : 'Activate',
notice : 'Notice',
cancel : 'Cancel',
failedToCopy: 'Can not copy on your environment.',
scrollbar : 'Drag to Scroll',
inputLabel : 'Edit the code.',
location : 'Line: %s, Column: %s',
}
JavaScript

Indentation

{
indentNotice : 'Indent/Move Focus',
indentDisabled: 'Inserting indents by the Tab is currently disabled. You can toggle it by %s.',
}
JavaScript

Jump

{
jumpToLine : 'Jump to Line',
jumpToolbar: 'Jump Toolbar',
}
JavaScript

Resize

{
resizeBar: 'Drag to Resize/Double Click to Reset',
}
JavaScript
{
search : 'Search',
searchToolbar: 'Search/Replace Toolbar',
wholeWord : 'Match Whole Word',
prevMatch : 'Previous Match',
nextMatch : 'Next Match',
replace : 'Replace',
replaceAll : 'Replace All',
matchCase : 'Match Case',
regexp : 'Regex',
noResults : 'No results',
}
JavaScript