Replace constant in MonolingualTextHandler