Forum


Replies: 2   Views: 2537
Translating page of based on document language
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 09-01-2018 - 11:46

Hello,

The current version of phpdocx doesn't support getting a translate OOXMLResources file based on the document language. 

The best approach is changing the variables of the OOXMLResources class. You don't need to change the class, as all variables are public static you can overwrite the values dynamically from any other script:

OOXMLResources::$pageNumber = '..';

so you can create a script that changes the value of this variable based on your needs.

Regards.