Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Remove length restriction from crowdin

Oliver Günthere52f324df100
diff --git a/script/crowdin/fix_locale_keys.rb b/script/crowdin/fix_locale_keys.rb
index 8cb73a93188..9b4efb9ed27 100644
--- a/script/crowdin/fix_locale_keys.rb
+++ b/script/crowdin/fix_locale_keys.rb
@@ -18,7 +18,7 @@ Dir.glob('**/config/locales/crowdin/*.yml').each do |crowdin_file|
end
# Read the language code from the YML index
- if language_key.nil? || language_key.length > 5
+ if language_key.nil?
raise "Failed to detect language from #{crowdin_file}"
end