Facebook Inc. on Saturday blamed a technical error for Chinese leader Xi Jinping's name appearing as "Mr. S—-hole" in posts on its platform when translated into English from Burmese, apologizing for any offense caused.

The error came to light on the second day of a visit by the president to the Southeast Asian country, where Xi and state counsellor Aung San Suu Kyi signed dozens of agreements covering massive Beijing-backed infrastructure plans.

A statement about the visit published on Suu Kyi's official Facebook page was littered with references to "Mr. S—-hole" when translated to English, while a headline in local news journal the Irrawaddy appeared as "Dinner honors president s—-hole."