Fixed Error when trying to import language XML


Well-known member
Affected version
2.3.0 Beta 1
Trying to import the German language XML for XenForo 2.2.15 as a new language results in


This most likely happens because language XML < 2.3.0 don't contain short date formats.

Manually create a new language and import the XML in overwrite mode afterwards

Suggested Fix
A better error messaging telling the admin that the XML file is incompatible
Import without setting short date formats if Skip import checks is enabled (Preferred)
After updating the forum to beta, default values are not set and, accordingly, when exporting, the date_format is missing in the file. After changing the value in the control panel, the field will be located in the export. Also missing are the required fields date_short_format, date_short_recent_format. When importing a language you need Skip import checks
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.0 Release Candidate 1).

Change log:
Fix importing and exporting languages
There may be a delay before changes are rolled out to the XenForo Community.
Top Bottom