Skip to main content
Highlighted code
Source Link
leymannx
  • 18.8k
  • 6
  • 72
  • 126

I have seen this too. LookingLooking thru the code, it appears that the pager templates do have translations set up properly. SoSo in theory, UI translations should work. ButBut they don't.

I haven't tried it but you probably could do this thru the hook_preprocess_pager__page(&$variables)hook_preprocess_pager__page(&$variables) function (for full views pages). There seems to be a $variables['pager']['#tags']$variables['pager']['#tags'] array with the values for pagers. YouYou might be able to do the UI string translation here.

I have seen this too. Looking thru the code, it appears that the pager templates do have translations set up properly. So in theory, UI translations should work. But they don't.

I haven't tried it but you probably could do this thru the hook_preprocess_pager__page(&$variables) function (for full views pages). There seems to be a $variables['pager']['#tags'] array with the values for pagers. You might be able to do the UI string translation here.

I have seen this too. Looking thru the code, it appears that the pager templates do have translations set up properly. So in theory, UI translations should work. But they don't.

I haven't tried it but you probably could do this thru the hook_preprocess_pager__page(&$variables) function (for full views pages). There seems to be a $variables['pager']['#tags'] array with the values for pagers. You might be able to do the UI string translation here.

Source Link
CG Monroe
  • 3.1k
  • 10
  • 19

I have seen this too. Looking thru the code, it appears that the pager templates do have translations set up properly. So in theory, UI translations should work. But they don't.

I haven't tried it but you probably could do this thru the hook_preprocess_pager__page(&$variables) function (for full views pages). There seems to be a $variables['pager']['#tags'] array with the values for pagers. You might be able to do the UI string translation here.