Skip to content
This repository has been archived by the owner on Jan 31, 2022. It is now read-only.

Refactor the project #11

Merged
merged 1 commit into from Dec 22, 2013
Merged

Refactor the project #11

merged 1 commit into from Dec 22, 2013

Conversation

willdurand
Copy link
Owner

No description provided.

$app['translator']->addLoader('xlf', new Symfony\Component\Translation\Loader\XliffFileLoader());
$app['translator']->addResource('xlf', sprintf($validatorFile, $locale), $locale, 'validators');
$app['translator']->setLocale($locale);
});
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lazy loading of the translation files based on the Accept-Language header. Powered by StackNegotiation.

Update deps
Move config files to better locations
Use Hateoas 2.0
Configure Hateoas
Add cache directory
Fix bootstrap script
Use SQLite
Use Stack PHP: StackNegotiation
Remove generic controller, and introduce a DocumentController
Add a better/real Model layer
Add a View layer (Handler)
Lazy loading of translations based on the `Accept-Language` header
Add an Error class to format errors
willdurand added a commit that referenced this pull request Dec 22, 2013
@willdurand willdurand merged commit 4475d1b into master Dec 22, 2013
@willdurand willdurand deleted the refactoring branch December 22, 2013 22:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant