Ghost/core/server
juan-g f671f9d2c9 Theme translations and blog localisation (#8437)
refs #5345, refs #3801

- Blog localisation
  - default is `en` (English)
  - you can change the language code in the admin panel, see https://github.com/TryGhost/Ghost-Admin/pull/703
  - blog behaviour changes depending on the language e.g. date helper format
  - theme translation get's loaded if available depending on the language setting
  - falls back to english if not available

- Theme translation
  - complete automatic translation of Ghost's frontend for site visitors (themes, etc.), to quickly deploy a site in a non-English language
  - added {{t}} and {{lang}} helper
  - no backend or admin panel translations (!)
  - easily readable translation keys - very simple translation
  - server restart required when adding new language files or changing existing files in the theme
  - no language code validation for now (will be added soon)
  - a full theme translation requires to translate Ghost core templates (e.g. subscriber form)
  - when activating a different theme, theme translations are auto re-loaded
  - when switching language of blog, theme translations are auto re-loaded

- Bump gscan to version 1.3.0 to support more known helpers

**Documentation can be found at https://themes.ghost.org/v1.20.0/docs/i18n.**
2018-01-09 14:50:57 +01:00
..
adapters Moved utils constants to lib/constants 2017-12-14 14:13:40 +01:00
api Improved forwarding model options in the API layer (#9380) 2018-01-09 13:26:09 +01:00
apps Moved make-absolute-urls to url service 2017-12-14 22:34:37 +01:00
config Moved default-cards app to lib/mobiledoc (#9341) 2017-12-14 14:44:01 +00:00
controllers Moved tokens, url safe and safe string utility to lib/security 2017-12-14 13:38:00 +01:00
data Fixed import test: post duplication detection within a file to import 2018-01-03 13:34:15 +00:00
helpers Theme translations and blog localisation (#8437) 2018-01-09 14:50:57 +01:00
lib Theme translations and blog localisation (#8437) 2018-01-09 14:50:57 +01:00
models Revert "🐛 Fixed importer duplicate detection for posts" 2018-01-03 13:34:15 +00:00
public 🛠 🙈 Rename ghost-url.js to ghost-sdk.js (#8767) 2017-07-28 18:23:32 +04:00
services Used request lib in xmlrpc (#9333) 2017-12-15 16:50:18 +07:00
translations consistency change for english translation keys: use camel case (#9347) 2017-12-18 15:47:55 +01:00
views Fixed error trying to render 404 for missing asset 2017-12-22 20:08:59 +00:00
web Extended ghost version utility (#9278) 2018-01-03 20:20:18 +01:00
analytics-events.js Cleared out old unused events 2017-12-13 09:08:25 +00:00
filters.js Moved pipeline/sequence to lib/promise 2017-12-13 22:20:02 +01:00
ghost-server.js Always require fs-extra - consistency change 2017-12-13 20:57:11 +01:00
index.js Theme translations and blog localisation (#8437) 2018-01-09 14:50:57 +01:00
overrides.js Set Promise to be Bluebird globally 2017-12-13 20:57:11 +01:00
update-check.js consistency change for english translation keys: use camel case (#9347) 2017-12-18 15:47:55 +01:00