update language_by_size from compat

Change-Id: I8669a059f59f2bd62d086bfa21082607dd3c1621