Partially convert to plain JS.
Update plurals, add auto-gen warning.