Convert locale.compare.inc to a service