wouldn't be more easy to use to let language be None and iterate over available languages in that case.
This way you can still publish all the languages at once.
It may be a higher level functions in `cms.api` though