Localization of published web sites

Use case or problem

When one publish a site with the Publish plugin, some text is always in English (such as Table of contents, Search, and so on).

Proposed solution

  1. Have a place where static texts can be translated (similar to publish.css to customize CSS).
  2. Or use the language chosen in the app to localize the strings (but I prefer solution 1).