# Languages

import countryFr from "../../../../examples/map-country/country.story.fr.md?raw";

A map is written once; its language is the story's. The names of countries and regions come from
`Intl.DisplayNames` (Natural Earth's own names when the browser has none), the numbers of a legend
from `Intl.NumberFormat`, and the labels of markers from the story itself. In a right-to-left
language the legend and the text panel move to the other side; the map itself never flips.

## The atlas in French

The same five views as on the [home page](/maps), from `atlas-tour.story.fr.md`.

<StoryEmbed slug="maps/atlas-tour" locale="fr" />

## Right-to-left

From `atlas-tour.story.ar.md` (`lang: ar`): the text column and the navigation controls turn with
the language through logical CSS properties, while the map and its coordinates stay oriented
north-up and west-left.

<StoryEmbed slug="maps/atlas-tour-ar" />

## A country in French

<StoryEmbed slug="maps/country" locale="fr" />

<details>
<summary>The Markdown source</summary>

<SourceFile code={countryFr} title="examples/map-country/country.story.fr.md" language="md" />

</details>
