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 Simco Nederland  · 09-01-2018 - 10:33

in this topic : https://www.phpdocx.com/en/forum/default/topic/1285 admin noted to chnge file
but that's absolutely not an option since we use multilanguage site wel yes we can create 20 files for each language we use on website but we have no way to include needed one 

so is it possible to set phpdocx to use translations from another inc file if it's exists otherwise use default.

so it will be something like this :

$docx->setLanguage('de-DE');

then phpdocx shall use OOXMLResources_de-DE.inc
and if it's not there then use default OOXMLResources.inc