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

Translation Dutch issu #253

Open
GreenSmart01 opened this issue Feb 14, 2025 · 7 comments
Open

Translation Dutch issu #253

GreenSmart01 opened this issue Feb 14, 2025 · 7 comments

Comments

@GreenSmart01
Copy link

Not all strings are being translated;

The server timezone is %s (%s); the current server time is %s (%s); and the day is %s.

Translated to:

De tijdzone van de server is %s (%s); de huidige servertijd is %s (%s); En de dag is %s.

Displays on the admin page:

The server timezone is GMT (UTC); the current server time is 11:18am (11:18); and the day is Friday.

Already downloaded a fresh version of the english translation.
and translated only this string, still gives me the english string.

Also a bunch of other strings for example in the e-mail notifiation;
Go to the discussion to reply or catch up on the conversation:

Also not translated.

@boonebgorges
Copy link
Owner

Thanks for the report. It appears that these strings are either missing from the Dutch translation, or the source text has changed since the Dutch translation was made. If you'd like to update the translation and share your updates, here's a guide on using Poedit.

@boonebgorges
Copy link
Owner

@GreenSmart01
Copy link
Author

Thanks for the reply! :)
In the default MO and PO files, the strings are already translated.

@boonebgorges
Copy link
Owner

No, they're not. Compare:

'The server timezone is %1$s (%2$s); the current server time is %3$s (%4$s); and the day is %5$s.'

<p><i><?php $weekday = array( __("Sunday"), __("Monday"), __("Tuesday"), __("Wednesday"), __("Thursday"), __("Friday"), __("Saturday") ); echo sprintf( __( 'The server timezone is %s (%s); the current server time is %s (%s); and the day is %s.', 'buddypress-group-email-subscription' ), date( 'T' ), date( 'e' ), date( 'g:ia' ), date( 'H:i' ), $weekday[date( 'w' )] ) ?></i>

and in the nl_NL translation:

"The server timezone is %s (%s); the current server time is %s (%s); and the day is %s."

"The server timezone is %s (%s); the current server time is %s (%s); and the "

They must match exactly, and they do not.

@GreenSmart01
Copy link
Author

I have now in the NL file:
De tijdzone van de server is %s (%s); the current server time is %s (%s); and the day is %s.
still not beeing translated..

@boonebgorges
Copy link
Owner

Once you've made a change in a .po file, you have to generate .mo file using a tool like Poedit in order to see the changes.

@GreenSmart01
Copy link
Author

I know. i did that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants