framework/src/Core
Toby Zerner 8b162344cd Lay the groundwork for translation & refactor asset compilation
Ditched the idea of having language packs as extensions. Reasoning:

1. Because we use machine keys for translations (rather than English
keys), extensions need to be able to define default translations. If
English translations are to be included in extensions and not in a
language pack extension, then it doesn’t make sense to have other
languages as language pack extensions. Inconsistency → complexity.

2. Translations should maintain version parity with their respective
extensions. There’s no way to do this if extension translations are
external to the extension.

Instead, localisation will be a core effort, as well as a per-extension
effort. Translators will be encouraged to send PRs to core + extensions.

In core, each locale has a directory containing three files:
- translations.yml
- config.js: contains pluralisation logic for the JS app, as well as
moment.js localisation if necessary
- config.php: contains pluralisation logic for the PHP app

Extensions can use the Flarum\Extend\Locale extender to add/override
translations/config to a locale.

Asset compilation has been completely refactored with a better
architecture. Translations + config.js are compiled and cached for the
currently active locale.
2015-06-10 14:23:56 +09:30
..
Activity New user activity feed API. 2015-05-20 12:30:27 +09:30
Commands Improve email changing/confirmation stuff 2015-05-27 16:24:54 +09:30
Events Add NotificationWillBeSent event 2015-06-01 08:52:04 +09:30
Exceptions Upgrade to L5 + huge refactor + more. closes #2 2015-02-24 20:33:18 +10:30
Formatter Make HTMLPurifier config extensible; allow images 2015-06-08 09:37:30 +09:30
Handlers Fix error on account registration 2015-06-01 17:55:41 +09:30
Models Clear bio HTML cache when saving bio 2015-06-08 09:50:07 +09:30
Notifications Add NotificationWillBeSent event 2015-06-01 08:52:04 +09:30
Repositories Really rough fulltext driver implementation 2015-06-04 11:11:56 +09:30
Search Really rough fulltext driver implementation 2015-06-04 11:11:56 +09:30
Seeders Lay the groundwork for translation & refactor asset compilation 2015-06-10 14:23:56 +09:30
Support Fix remaining PSR-2 issues. 2015-05-19 01:07:22 +02:00
CoreServiceProvider.php Lay the groundwork for translation & refactor asset compilation 2015-06-10 14:23:56 +09:30