Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exclude ltm vendor traslation from find/import #97

Open
Bonobomagno opened this issue Sep 4, 2017 · 7 comments
Open

exclude ltm vendor traslation from find/import #97

Bonobomagno opened this issue Sep 4, 2017 · 7 comments
Labels

Comments

@Bonobomagno
Copy link

How to exclude them? using exclude_groups on config?
Other way?

@Bonobomagno
Copy link
Author

ok. use something like that
'exclude_groups' => array( 'pagination', 'reminders', 'validation', 'laravel-translation-manager::messages', 'ltm-user-locales' ),

@vsch
Copy link
Owner

vsch commented Sep 4, 2017

This is the method to exclude specific groups from LTM.

@Bonobomagno
Copy link
Author

i think that something for exclude all present + future translation group would be usefull.

@vsch
Copy link
Owner

vsch commented Sep 6, 2017

@Bonobomagno, what do you mean by all present and future translation group exclusion?

Do you mean just list groups to be included and ignore the rest?

@Bonobomagno
Copy link
Author

Bonobomagno commented Sep 6, 2017 via email

@vesper8
Copy link
Contributor

vesper8 commented Oct 30, 2017

I haven't found a way to exclude vendors.. I have a vendor folder in /resources/lang/vendor and I would like to know how I can exclude some or all vendors located in that folder when performing a "import all"

@vsch
Copy link
Owner

vsch commented Nov 2, 2017

In the config for LTM under the language_dirs comment out the packages definition which defines the location of vendor package translation customizations.

By default the line is:

    'packages' => '/resources/lang/vendor/{package}/{locale}/{group}',

Commenting it out will exclude all customizations.

To exclude individual vendors or packages you would need to add them to the exclude_groups in the config file.

@vsch vsch added the question label Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants