laravel / cashier-mollie

MIT License
375 stars 63 forks source link

Localize subscription descriptions and coupon descriptions #79

Open rbresjer opened 5 years ago

rbresjer commented 5 years ago

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 commented 5 years ago

Nice idea. Feel free to submit a PR :)

sandervanhooft commented 5 years ago

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

rbresjer commented 5 years ago

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

sandervanhooft commented 5 years ago

You're right, it doesn't.

tobischulz commented 4 years ago

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 commented 4 years ago

First steps are taken in #237