I have a question in template(guided_xml.tmpl) configuration in Adobe Search & Promote.
This template basically is the structure of the response returned by the Search & Promote. Under the root node "pagination", page positions First,Last,Previous,Next,viewall can be configured. Can these values be configured in any language other than english?
The specific issue i am facing is, when the page position is configured in chinese language, Pagination object's hasPrevious() and hadNext() methods always returns "false", due to which the logic for displaying "Previous" and "Next" buttons is not working for this Search & Promote account.
Any inputs on this will be highly appreciated.
Thanks in advance.
Update: Added more details
<page position="First"><![CDATA[<guided-page-path gsname="first" />]]></page> is the configuration in english.
Can the value for position be in any other language for example, traditional chinese?
As mentioned earlier the objective you're trying to achieve is possible hence requested you to reach out to our consulting team. Moreover the screenshot you attached indicates you've integrated AEM with SnP. This is why I requested you to get in touch with them. Please let me know in case you need help contacting them.
I see that in the Pagination class, the page position is hard-coded as "next" and "previous" in english in the hasNext() and hasPrevious() methods which means the page position has to be given in english in order to work as expected.