klembot / twinejs

Twine, a tool for telling interactive, nonlinear stories
https://twinery.org
GNU General Public License v3.0
2k stars 296 forks source link

Twine generating new Folder for 'Stories' when changing languages #1288

Open Yijare opened 2 years ago

Yijare commented 2 years ago

Describe the bug.

When changing the UI-language in Twine, Twine is unable to display stories in the Story Folder because it generates a new, localized Story Folder.

So if I choose to make the UI language German (my native) Twine generates a Folder named "Geschichten" wich is german for stories. but if you have already stories in the 'Stories' folder, that was previously generated for english, they are now not present in the App. Same is applicable when cahnging back. Stories within the Folder "Geschichten" have to be relocated to "Stories" so the App will find them.

Steps to reproduce:

Change Language of the UI, see your stories vanish

Expected behavior:

consistent story folder, regardless of wich language you choose to use in the UI

Additional context on this problem.

No response

Twine version number

2.3.16 as well as 2.5.1

Does this problem occur with the web version of Twine or the desktop app?

Desktop app

What operating system does this problem occur on?

Windows

If this problem is occurring with the web version of Twine, what browser does it occur on?

No response

Presubmission checklist

klembot commented 2 years ago

I'm not 100% sure how to approach this problem but I can see how leads to confusion.

Yijare commented 2 years ago

Perhaps let Twine ask the user if they want to keep the Folder (whatever language they have choosen) Twine created first, to contain the Stories on change of the UI language. And make that an Optiopn in Settings. So you do not have to ask every time the UI language is changed.

About the design goal of language equallity - I feel for the persistence of the story folder, it should not be part of the i18n variables.