We need to send all content to a translater and then import it again when it is translated.
Is that possible?
Developer forum
E-mail notifications
Export and import of content
Kim Søjborg Pedersen
Posted on 09/03/2012 14:06:42
Replies
Vladimir
Posted on 12/03/2012 06:32:13
Hi Kim!
I'm not sure, that understand you correctly, to translate all content of page, you may add google snippet to your webpages:
Translate Element or implement an AfterOutputObserver, something like:
Best regards,
Vladimir
I'm not sure, that understand you correctly, to translate all content of page, you may add google snippet to your webpages:
Translate Element or implement an AfterOutputObserver, something like:
<Dynamicweb.Extensibility.Subscribe(Dynamicweb.Notifications.Standard.Page.AfterOutput)> _ Public Class MyPageAfterOutputObserver Inherits Dynamicweb.Extensibility.NotificationSubscriber Public Overrides Sub OnNotify(ByVal notification As String, ByVal args As Dynamicweb.Extensibility.NotificationArgs) If args Is Nothing Then Return End If Dim afterOutputArgs As Dynamicweb.Notifications.Standard.Page.AfterOutputArgs = DirectCast(args, Dynamicweb.Notifications.Standard.Page.AfterOutputArgs) afterOutputArgs.template.Html = TranslateAllContent(afterOutputArgs.template.Output) End Sub Private Function TranslateAllContent(ByVal content As String) ... End Function End Class
Best regards,
Vladimir
Kim Søjborg Pedersen
Posted on 14/03/2012 13:19:57
It was not quite what I thought.
The customer will have translated all the content without giving access to the backend. The contents must be translated by a human translator and then imported into the solution again as a new language layer.
The customer will have translated all the content without giving access to the backend. The contents must be translated by a human translator and then imported into the solution again as a new language layer.
Vladimir
Posted on 15/03/2012 01:31:30
This post has been marked as an answer
Oh, sorry, I understand now. There are two functions in websites module - full export of area and translation export.
So 1 step - you make copy of an area - and second step - make translation export.
You will get an xml with all site content, which you can translate and import back
Best regards,
Vladimir
So 1 step - you make copy of an area - and second step - make translation export.
You will get an xml with all site content, which you can translate and import back
Best regards,
Vladimir
Votes for this answer: 0
Kim Søjborg Pedersen
Posted on 15/03/2012 13:30:50
Fantastic
Anders Frey Birkmose
Posted on 17/04/2012 13:58:46
Hi Vladimir
In the backend there is no import button. How do I import the xml back into dynamicweb?
Best Regards
Anders
You must be logged in to post in the forum