update language_by_size from compat

Change-Id: I0ba5a925aec849b938a94eb14c2382e7c3e4be48