<%inherit file="/base/index.html" /> <%namespace file="/base/javascriptDefs.html" name="javascriptDefs" \ import="getCharCodeScript, translateOrthographyScript"/> <%def name="writeJavascriptToHead()"> ${getCharCodeScript()} ${translateOrthographyScript()} <%def name="heading()">

Object Language Orthographies

This page provides more details about the object language orthographies.

In particular, it allows users to:

<% options = [(x, c.OLOrthographies[x][0]) for x in c.OLOrthographies if \ c.OLOrthographies[x][0] and c.OLOrthographies[x][1]] %>

Test Orthography Conversion

Input Orthography

${h.select(name='inputOrthography', id='inputOrthography', \ selected_values="", options=options, tabindex=1)}

Output Orthography

${h.select(name='outputOrthography', id='outputOrthography', \ selected_values="", options=options, tabindex=2)}

Enter some text in the box below using the input orthography selected above.

Press Translate to translate your input text into the output orthography selected above. Your translated text will be displayed below.

<% tabindex = 3 %> % for OLOrthography in c.OLOrthographies: % if c.OLOrthographies[OLOrthography][1]:

${c.OLOrthographies[OLOrthography][0]}

See if you can enter the graphs of this orthography. For each row in the following table, try entering in the 'Input' column the graph you see in the 'Graph' column. The unicode character code points of your input will be displayed in the 'Input Codes' column. If the code points of your input match those of the graph (see the 'Graph Codes' column), then a green checkmark will appear. Otherwise, a red x mark will appear.

% for index in range(len(c.OLOrthographies[OLOrthography][2])): <% inputID = 'input_%s_%s' % (OLOrthography[-1], str(index)) divID = 'div_%s_%s' % (OLOrthography[-1], str(index)) compareID = 'compare_%s_%s' % (OLOrthography[-1], str(index)) tabindex += 1; %> % endfor
GraphGraph CodesInputInput Codes
${c.OLOrthographies[OLOrthography][2][index]} ${c.OLOrthographies[OLOrthography][3][index]}
% endif % endfor