Hi

The problem is that the next page button label is always Next and not the translated version.
Previous button works perfectly.

And even though it shows the translated label while debugging with form_alter function it is says "Next" in the button.

In $form_state variable there's a number of buttons such as next_button_text and first_button_text etc. which all have "Next" and Next().
I just don't remember anymore that which hook I used to debug form_state variable and in which I could see these buttons.

Yes, with preprocess_node() and r($vars) I can see following:

first_button_text	=>	Next
                                                function next
next_button_text	=>	Next
                                        function next

Comments

ETENTION created an issue. See original summary.

ETENTION’s picture

Issue summary: View changes

Fixed details about form array values

ETENTION’s picture

Issue summary: View changes
ETENTION’s picture

Assigned: Unassigned » ETENTION
Status: Active » Closed (works as designed)

In the end there was another module that was setting next button text to "Next" and it wasn't integrated to i18n.