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

Email notification text is not translated #3690

Closed
duysmil opened this issue Jul 3, 2019 · 10 comments
Closed

Email notification text is not translated #3690

duysmil opened this issue Jul 3, 2019 · 10 comments
Labels
Bug Bugs with Cachet Translations Issues with translations
Milestone

Comments

@duysmil
Copy link

duysmil commented Jul 3, 2019

How I can Change This Message in subscribe e-mail?

Not locate in lang files this message

"
If you’re having trouble clicking the "Accept" button, copy and paste the URL below into your web browser:
"

@jbrooksuk
Copy link
Member

You need to edit /resources/views/vendor/notifications/email.blade.php. Looks like that's a language string that's missing!

@jbrooksuk jbrooksuk added Bug Bugs with Cachet Translations Issues with translations labels Jul 11, 2019
@jbrooksuk jbrooksuk added this to the V2.4.0 milestone Jul 11, 2019
@jbrooksuk jbrooksuk changed the title How I can Change This Message in subscribe e-mail? Email notification text is not translated Jul 11, 2019
@duysmil
Copy link
Author

duysmil commented Jul 11, 2019

You need to edit /resources/views/vendor/notifications/email.blade.php. Looks like that's a language string that's missing!

Thanks.

@duysmil duysmil closed this as completed Jul 11, 2019
@jbrooksuk
Copy link
Member

jbrooksuk commented Jul 11, 2019

Keeping this open so we can fix it.

@jbrooksuk jbrooksuk reopened this Jul 11, 2019
@duysmil
Copy link
Author

duysmil commented Jul 11, 2019

Keeping this open so we can fix it.

Oks, there are another files to change...

In e-mails of new and update incidents/schedule, the message say "thanks" i locate "thanks" in files in this folder

/var/www/cachet/resources/views/notifications/incident
/var/www/cachet/resources/views/notifications/component
/var/www/cachet/resources/views/notifications/schedule

nalysius added a commit to nalysius/Cachet that referenced this issue Apr 30, 2020
Some "Thanks" were written in e-mail notifications but was not
translated. The "@lang" directive was added around.

See cachethq#3690
jdkemme pushed a commit to Gentex-Corporation/Cachet that referenced this issue Sep 3, 2020
Some "Thanks" were written in e-mail notifications but was not
translated. The "@lang" directive was added around.

See cachethq#3690
@goodgunner
Copy link

Hello, i am trying something thats in line with this issue. i want to change the language of the notification emails to dutch but i cant seem to find where i can configure this. halve the teksts are in english when sending a notification. any help on this subject?

@pavog
Copy link
Contributor

pavog commented Aug 6, 2021

@goodgunner Hi, have you set the site language to Dutch in Dashboard -> Settings -> Localization?

@goodgunner
Copy link

ah thank you. it seems i needed to change it from "nederlands" to "nl-NL" its strange how that works

@pavog
Copy link
Contributor

pavog commented Aug 6, 2021

@goodgunner Glad it's working now :) Yes, it is a bit strange. We have some translations with just the language code and some with the language and country codes. I think it's because the translations come from Crowdin.

@DennisSkov
Copy link

How would we go about translating this?

@lang('Thanks')
@lang('Regards')

Which file would need to be created/edited? I don't see any existing translations for these strings.

@jbrooksuk jbrooksuk modified the milestones: v2.4, v2.x Aug 12, 2023
@jbrooksuk
Copy link
Member

Thank you for your input on Cachet 2.x. We are shifting our attention and resources to Cachet 3.x and will no longer be supporting the 2.x version. If your feedback or issue is relevant to the 3.x series, we encourage you to engage with the new branch.

For more information on the Cachet rebuild and our plans for 3.x, you can read the announcement here.

We appreciate your understanding and look forward to your contributions to the new version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bugs with Cachet Translations Issues with translations
Projects
None yet
Development

No branches or pull requests

5 participants