A top official says Indonesia is preparing to execute more foreigners convicted of drug offenses as it maintains a contentious policy of applying capital punishment for drug crimes.

Attorney General Muhammad Prasetyo says Thursday that his office is looking for the right time to carry out the executions.

He did not specify how many convicts would face firing squads in what would be the third set of executions under President Joko "Jokowi" Widodo's administration.

Fourteen people convicted of drug-related crimes, mostly foreigners, were executed last year.

Local media reports quoted the chief of the Jakarta prosecutor's office as saying 10 foreigners would be executed: four Nigerians, two Malaysians, two Americans, one Zimbabwean and one Senegalese.