WikiTransformationProject / wikitraccs-releases

Releases, issues and discussions for WikiTraccs from the Wiki Transformation Project
https://www.wikitransformationproject.com
8 stars 0 forks source link

Pages translated to German #54

Closed craigjm closed 1 year ago

craigjm commented 1 year ago

Is there an existing issue for this?

Current Behavior

For one site in our test migrations, some pages were translated to German in the migration to SharePoint. As far as I can tell, our language is set to English in Confluence and SharePoint. This is the only site I have noticed the behavior in so far. I tried a new migration to see if it was just a fluke, but the behavior was repeated the second time as well. I am emailing you the relevant log files.

Expected Behavior

I was expecting the migration to keep the English language from the source Confluence pages.

WikiTraccs Version

v1.3.13

Confluence Version

Confluence 7

Relevant log output or page storage format

No response

Anything else?

No response

heinrich-ulbricht commented 1 year ago

@craigjm Please give the latest release a try. WikiTraccs so far migrated only one language. The new default is to migrate all languages to one target page. This affects spaces where the Scroll Translations plugin is used to translate pages.

How much does that meet your requirements?

craigjm commented 1 year ago

I tried the latest version, and set Language to "Migrate all source languages to one target page", but I'm getting the same result. Sharepoint

Sharepoint

Confluence

Confluence

I'll send over logs again. Thanks!

heinrich-ulbricht commented 1 year ago

Interesting and strange. That's the attachments macro, that gets special treatment and its content is delivered by Confluence.

Is anything else in German on the migrated pages, apart from the attachments macro? Is the Scroll Translations macro in use to translate pages? Is the user account you are using for the migration the same that you used to open the Confluence page in the screenshot? Wondering if user account language settings might play a role. Or is there anything German in/on/around the computer/account/browser/operating_system/migration that you can think of? I'm thinking about all those options here as well: https://confluence.atlassian.com/doc/choosing-a-default-language-214860191.html

And could you please send the storage format over, for that page? Thank you!

heinrich-ulbricht commented 1 year ago

@craigjm I found something and can reproduce the behavior you see, for the attachments macro.

Could you please open the user settings for the account used for the migration?

This is probably how it's configured right now: image

Change this to be explicitly English:

image

This solved the issue for me and switched the content to English.

Background: the contents of the attachments macro is rendered by Confluence, WikiTraccs takes this output and puts it into the migrated page. Confluence has logic built in to figure out the language that you might want to see a user interface in and this is forcing it to choose English.

For the record, other languages work, too. image image

craigjm commented 1 year ago

Yes, this resolved the translation issue for me. Thank you!