-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5190 from coudenysj/translation-documentation
Merge the translation component documentation in the resource component documentation
- Loading branch information
Showing
15 changed files
with
97 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
Service interfaces | ||
================== | ||
|
||
.. _component_resource_provider_locale-provider-interface: | ||
|
||
LocaleProviderInterface | ||
----------------------- | ||
|
||
This interface should be implemented by a service responsible for managing locales. | ||
|
||
.. note:: | ||
For more detailed information go to `Sylius API LocaleProviderInterface`_. | ||
|
||
.. _Sylius API LocaleProviderInterface: http://api.sylius.org/Sylius/Component/Resource/Provider/LocaleProviderInterface.html | ||
|
||
.. _component_resource_repository_translatable-resource-repository-interface: | ||
|
||
TranslatableRepositoryInterface | ||
------------------------------- | ||
|
||
This interface should be implemented by a repository responsible for keeping the **LocaleProvider** | ||
and an array of fields | ||
|
||
This interface expects you to implement a way of setting an instance of **LocaleProviderInterface**, | ||
and an array of translatable fields into your custom repository. | ||
|
||
.. note:: | ||
This interface extends the :ref:`component_resource_repository_repository-interface`. | ||
|
||
For more detailed information go to `Sylius API TranslatableResourceRepositoryInterface`_. | ||
|
||
.. _Sylius API TranslatableResourceRepositoryInterface: http://api.sylius.org/Sylius/Component/Resource/Repository/TranslatableRepositoryInterface.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.