update language_by_size from compat

Change-Id: Iffcfb52295a5bedda4c4748bd380ffda3a1343ff