I have just upgraded to Bionic Beaver (18.04) from Xenial and after a dabble in GNOME3 I decided to go back to Unity (I prefer having app indicators and a HUD). My keyboard layout is set to US International with dead keys, and I also installed fcitx with Simple Pinyin Support so I could type Chinese.
I noticed that since the upgrade, a language indicator
en appears next to the keyboard icon while I'm in a text field and on the US keyboard layout. This makes the icons in the tray jump left and right. Is it possible to just keep the keyboard icon and make the language indicator go away?
I logged in to a Unity session, enabled Fcitx, and can confirm the behavior. When using a Fcitx input method (in my case Sunpinyin) I see this:
and when using the English (US) keyboard layout I see this:
when in an input area, or else the
us part disappears.
I suppose the explanation is that there exist icons for Fcitx input methods, but not for XKB keyboard layouts, and then it shows the generic Fcitx icon instead together (sometimes) with the abbreviation. If I recall it correctly, it has been like that for a while, i.e. it's not new in 18.04.
If you don't like that behavior, one option is to switch to IBus, install e.g.
ibus-libpinyin, relogin, and select Intelligent Pinyin in Text Entry.