Account created on 31 March 2023, about 2 years ago
#

Recent comments

Hello, I didn't express myself well in my comment #4.
I modified and applied this patch to make the site language translations work for me.
It works for me in Spanish.
It should work for other languages.

Hi.
I’m using Drupal 11.1.4 with PHP 8.3, along with date_recur 3.9.3 and date_recur_modular 3.3.0, using the Sierra widget. I encountered an issue where recurrence pattern variables do not get properly translated.

For example:

t('Weekly on @weekday', $tArgs);

Results in: "Semanalmente el Wednesday" instead of "Semanalmente el miΓ©rcoles".

Proposed Solution:
I implemented a fix that ensures translations respect the current Drupal language. This approach allows recurrence pattern variables to be correctly translated. The patch affects DateRecurModularSierraWidget and DateRecurModularSierraModalForm.

For the modal form, I used hook_form_alter(), but the logic remains the same. My current implementation only checks for Spanish and a specific timezone case, but it can be improved if integrated into the module directly.

Looking forward to feedback and improvements from the community. Thanks!

Hi, using Drupal 11.1.4, PHP 8.3.16, 'drupal/date_recur:^3.9' and 'drupal/date_recur_modular:^3.3'. This issue is active, aplying this patch #2 work it, need a revison.

The patch at the comment #20 work for me in version 8.x.3.4 since update to D 10.4, other version for this module not work a patch for me.
I'm waiting apply this patch, since update to Drupal 10. i could grantee it's work in Drupal 11.1.2 whit version 8.x.3.4. if merged to dev i will test quickly and i will send my feedback.

Production build 0.71.5 2024