| 1 |
<para> |
| 2 |
Garmin points of interest files may contain data in two languages. |
| 3 |
If you attempt to read a dual language Garmin points of interest file without specifying which language |
| 4 |
to use GPSBabel will print an error message containing the language codes used in the file. |
| 5 |
Subsequently you may use one of these codes with the languagecode |
| 6 |
option to specify which language to use. |
| 7 |
</para> |
| 8 |
<example xml:id="gpi_languagecode_notspecified"> |
| 9 |
<title>Example with unspecified language and a garmin points of interest dual language file.</title> |
| 10 |
<para> |
| 11 |
<userinput> |
| 12 |
gpsbabel -i garmin_gpi -f reference/spb_metro_norm.gpi |
| 13 |
</userinput> |
| 14 |
could produce the following output: |
| 15 |
<simplelist type="vert"> |
| 16 |
<member>garmin_gpi: Must select language code, RU and EN found.</member> |
| 17 |
</simplelist> |
| 18 |
</para> |
| 19 |
</example> |
| 20 |
<example xml:id="gpi_languagecode_specified"> |
| 21 |
<title>Example for specifying language with a garmin points of interest dual language file.</title> |
| 22 |
<para> |
| 23 |
<userinput> |
| 24 |
gpsbabel -i garmin_gpi,languagecode=EN -f reference/spb_metro_norm.gpi |
| 25 |
</userinput> |
| 26 |
could produce the following output: |
| 27 |
<simplelist type="vert"> |
| 28 |
<member>59.944070N 30.306680E About Saint-Petersburg Metro - 2016.05/This file represents information about metro stations in aint-Petersburg. Published by NAVICOM, 2016. http://navicom.ru</member> |
| 29 |
<member>59.830660N 30.500100E RYBACKOE/Subway</member> |
| 30 |
<member>59.934430N 30.329950E NEVSKII PROSPEKT/Subway</member> |
| 31 |
<member>...</member> |
| 32 |
</simplelist> |
| 33 |
</para> |
| 34 |
</example> |