Error when creating project

Look at the GitHub big report above. It links to a bug in the KDE bug tracker that shows a KDE component that is infecting the strings in applications! I think your experience confirms this may be the source of this bug (not necessarily Flatpak). The KDE bug report has a workaround that you can try.