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

Localize subscription descriptions and coupon descriptions #79

Open
rbresjer opened this issue Oct 3, 2019 · 6 comments
Open

Localize subscription descriptions and coupon descriptions #79

rbresjer opened this issue Oct 3, 2019 · 6 comments
Labels
enhancement New feature or request

Comments

@rbresjer
Copy link

rbresjer commented Oct 3, 2019

The descriptions of the subscriptions and the descriptions of the coupons are now hardcoded in the config. As we are creating a multi-language application it would be nice to localize these descriptions as well.

@sandervanhooft
Copy link
Contributor

Nice idea. Feel free to submit a PR :)

@sandervanhooft sandervanhooft added the enhancement New feature or request label Oct 3, 2019
@sandervanhooft
Copy link
Contributor

At first glance I'd say this would be possible in the blade template, what do you think?

@rbresjer
Copy link
Author

rbresjer commented Oct 9, 2019

But does that also change the name of the subscription shown on the Mollie pages, and in the bank transfer?

@sandervanhooft
Copy link
Contributor

You're right, it doesn't.

@tobischulz
Copy link
Contributor

I would like to add a /resources/lang/en/cashier.php file with that users can localize the order description for directdebit that is now "Order 1234" hardcoded.

Developers can add own lang files to override this with default laravel translation.

@lexdewilligen
Copy link
Contributor

First steps are taken in #237

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants