Hello everyone.
Kudos on the great work with this module.
I have it up and running on a page I'm working on, but I have a weird problem, the pager shows the letter 'P' instead of the letter 'A'.
The pager itself works, letter 'P' is correctly referring to the view link with the letter 'A', it's just the letter on the pager.
I think it happens because the language on the site is set to spanish. When I see the page with the admin user, which uses english, the pager correctly displays letter 'A'.
You can check it out at:
http://beta.todo-hd.com/peliculas-6-alfabetico
I hope you can tell where to look or suggest a solution. Thanks in advance for your time reading this.
Comments
Comment #2
JeroenD commentedI have exactly the same issue, except the letter E is shown as O. My website default language is set to Dutch. If I switch the default language back to English the alphabet is displayed correctly.
Comment #3
JeroenD commentedApparently the letter E was translated to O in the interface. No idea who or how that happend.
May I ask why the labels are wrapped in a t() function as I can't think of a use case where you want to translate a letter into something else.
@bielo: Check your interface translations, for whatever reason the English letter A most likely will be translated to P for Spanish.
Comment #4
rudi teschner commentedI have the same problem, that the letters 'E' and 'Q' are translated to different values.
While it might be the case that it gets faulty translated, I think it would be better if the pagination letters would not be translated at all.
To fix this issue for me, i removed the t() in views/alpha_pagination_handler_pagination.inc.
Comment #5
elusivemind commentedAttached is a patch to test this issue
Comment #6
elusivemind commentedComment #8
elusivemind commented