‎13-03-2014 05:22 PM
Hello 🙂
I searched on the knowledge base, maybe the question was already raised, but I didn't find it.
We have to generate the website in 2 languages for our users : English and French.
We generated without issue the english version, but we have some issue to understand how to generate the same website in French. (Our MEGA object are in 2 languages in comments, names ...)
I noticed in "properties" / General / Translation that we could assign for each language a "Web Site path".
I think it's a good start .... but how to deal with the next phase ?
Thanks everyone.
Vincent
‎04-04-2017 03:54 PM - edited ‎04-04-2017 03:55 PM
Hi Jerome,
When you said "Check web site parameters".
Can you please explain or show a screenshot, which Website parameters needs to be checked/changed?
We have a same kind of issue as discussed in this post.
Regards,
Asim
‎17-03-2014 08:21 PM
Hello Vincent
Note that any web site template is not naturally able to generate for multiple languages. Example:
This has to be tested for your project.
Once you have checked that web sites based upon your web site template could be fully generated in different languages, you can consider to build a batch application to automate its generation.
You need to build an application (.NET, .VBscript...) that uses API script function to:
You can code that the application logs in in different language and generates page in different languages.
Once this batch application works correctly, you can consider to schedule its execution.
With Windows 2009 SP5 or higher version, you can use the Windows Scheduler.
See this KB for more details regarding the function GenerateWebSite
http://community.mega.com/t5/custom/page/page-id/mega-kb-solution?sid=50120000000mqRmAAI
‎17-03-2014 05:38 PM
Thanks Jerome for your answer.
Is it possible to automate the generation of the website in both languages with a batch ?
For example : "Generate the website at 2.00 am each Working days."
Regards
Vincent.
‎13-03-2014 06:55 PM
Hello Vincent
General steps
In a transaction, enable both English and French in user options (Tools > Options, group Languages)