Nomino

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages
English 日本語
Nomino
Screenshot of Nomino
Author: Emmanuel Dewaele, Cyrille Giquello
Website: http://nomino.openstreetmap.fr/
License: AGPL
Platform: win ; linux ; macos
Nomino is an OpenStreetMap editor which specialises in place name translation.

It is currently in alpha stage

Contents

Why ?

In OpenStreetMap, place names (name key) are written in the local language, and most maps display the same name. Although roman characters are used in most countries, there is variety of other languages with their own alphabets; the map of China or Russia is illegible to a French person for example. It is possible to specify places names in any language you want with name:** keys. Toolserver's localised maps are good examples how maps can be rendered in a given languague. It is possible to add name:** attributes with JOSM or Potlatch, but these tools are not really efficient for this task.

Features

Editing

Nomino is a web-based application. It supports OSM authentications with OAuth.

Developers

Integrate Nomino

You can invoke Nomino for it to retrieve a given object and display the "Translate" form.

Call the URL

http://nomino.comptoir.net/?osm_type=<type>&osm_id=<object number>

Translate

Localisation in Nomino consists in two parts: string translation with gettext, and user documentation.

Gettext: you can create a PO file (default.po) with Poedit, and translate every string.

In conf.php, add a new entry in the list of locales

public static $UI_LANGUAGUES = array('fr'=>'fr_FR.utf8','ln'=>'ln_CN.utf8');

ln is for the two-letters language code, CN for the country code. For instance, the name of a German locale would be de_DE.utf8. Poedit generates a MO file automatically from the PO file. Add default.po and default.mo, in the suitable folder:

locale/
 fr_FR.utf8/
  LC_MESSAGES/
    default.po
    default.mo
    doc.php

Documentation: The user documentation is stored in a PHP file. The english version is in the doc.php file. Copy the file in folder where your PO file is stored, and translate the documentation.

Links

Personal tools
Namespaces

Variants
Actions
site
Toolbox