Use backend locale cacheBuilder from frontend

This way, we're able to remove more duplicate code