html - css - Two fonts in one page for two languages -


i'll explain myself. want users able write (in inputs, etc.) in 2 languages, hebrew , english. website can in english entirely user still type in hebrew , vice versa. basically, have no way of knowing in language user type in input box, want matching font each 1 of languages (so input box looks pretty both in english , in hebrew).

so, how can have 2 fonts 2 languages in 1 element?

btw: answer not :lang(he). doesn't automatically detect language, html attribute lang. it's same writing [lang=he]

as far know, should happen automatically. assign both fonts this: font-family: 'arial', 'arial (hebrew)'; @ this example.


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -