In this case, it'll probably be simplest to just patch the code that remaps the workflows.
Open the plone.app.workflow
egg (it's path will be listed in your bin/instance
script), find the plone/app/workflow/remap.py
file and edit it.
About halfway down you'll find the following line (line 79 in my copy):
for brain in portal_catalog(portal_type=type_ids):
and add Language='all'
to that:
for brain in portal_catalog(portal_type=type_ids, Language='all'):
The alternative is copying that whole file into your own project, make that change locally, then calling it with:
statemap = {
'oldstate1_id': 'newstate1_id',
'oldstate2_id': 'newstate2_id'
}
chain_name = ('workflow_id',) # tuple of wf ids (can be empty), or the string '(Default)'
portal_types = ('sequence', 'of', 'portal_types')
copiedremap.remap_workflow(portal, portal_types, chain_name, state_map)
The remap_workflow
script then uses the current state of the object to find the new state it should have in the new target workflow(s) (it'll do this for each new workflow); if the old state is not listed in the map it'll use the initial state of the target workflow.