diff --git a/lib/twine/twine_file.rb b/lib/twine/twine_file.rb index c5b19e5..9d0a1e5 100644 --- a/lib/twine/twine_file.rb +++ b/lib/twine/twine_file.rb @@ -232,7 +232,15 @@ module Twine end @language_codes[1..-1].each do |lang| - write_value(definition, lang, f) + if lang =~ /^#{dev_lang}/ + write_value(definition, lang, f) + end + end + + @language_codes[1..-1].each do |lang| + if not lang =~ /^#{dev_lang}/ + write_value(definition, lang, f) + end end end end