scala/scala.github.com — pull request #129 by eed3si9n (2012-11-08 04:49:41+00:00)
Title: Localized Overview index page

Hi

I've been translating/porting a bunch of overview docs into Japanese lately. I figured it'd be nice to have a nice landing page for them so decided to localize the index page. See:

![screenshot](https://raw.github.com/gist/4036813/efd72f6f5f24bea175ddd109ca4027e38a280b75/localizedoverview.png)

### changes

`overview: xyz` entry was added YAML frontmatter to link the English originals to the translations. For example:

```
overview: string-interpolation
```

On the translated side, we just need to add the same entry. I also changed `guides-index` so the flags show up on the unused right-hand side span6. This is controlled by `languages: ja` on English `index.md`.

### adding more languages

I've refactored the index page generation logic into `localized-overview-index.txt` so with minimal change Spanish index page should also be generated (@migue):

1. Create `index.md` following the Japanese sample.
2. Add `es` to `languages: ja` in English index.md.