</tr>
<tr valign="top">
<td class="fieldName"><%= t 'diary_entry.edit.language' -%></td>
- <td><%= f.collection_select :language, Language.find(:all), :code, :name %></td>
+ <td><%= f.collection_select :language_code, Language.find(:all, :order => :english_name), :code, :name %></td>
</tr>
<tr valign="top">
<td class="fieldName"><%= t 'diary_entry.edit.location' -%></td>
<!--
var marker;
+ OpenLayers.Lang.setCode("<%= I18n.locale.to_s %>");
+
function init() {
var centre = new OpenLayers.LonLat(<%= lon %>, <%= lat %>);
var zoom = <%= zoom %>;