Akbar (Hritik Roshan) was from the era when they use to speak Persian in court, whereas Umrao Jaan (Aishwarya) written by Mirza Hadi Ruswa was of the British period, when Urdu / Hindvi had got its roots among masses.
I think Ashutosh Gowariker tried to get Hritik (Akbar) utter few Persian words, which were even not uttered by characters of K. Asif’s Mughal e Azam The actual (nearer) language by Mughal court during Akbar era was some what like this: