To change default language/locale to norwegian, all you need is to modify Configuration/Settings.yaml in root of your neos installation like this:
TYPO3:
Flow:
persistence:
backendOptions:
#your db setup here
#start of what you need
i18n:
defaultLocale: de
#de should be exchanged to no in your case.. but it will cause errors
#end of what you need
But, at this point Flow doesn't have translations for norwegian, so for 'no' instead of 'de' it will throw exceptions. There are few ways of handling this:
- In Packages/Framework/TYPO3.Flow/Resources/Private/Translations create 'no' directory, then copy files from 'en' and translate them and then apply patch for your application.
- Create your own contact form plugin, with custom validation and errors in norwegian or translations from your own package.
- Create your own translated validators and modify contact-form.yaml in Packages/Sites/Typo3.NeosDemo...