I’d like to get clarifications on the correct way to work in the frontend code with translation keys, right now
it seems there’s a mix of different styles of work.
Examples:
A. manageiq/app/presenters/menu/default_menu.rb has the following 2 different ways for strings:
N_(‘Providers’)
ui_lookup(:tables => ‘ontap_storage_system’)
which one of the above is correct? what is N_ ?
B. en.yml has a “model” section and also a “table” section, some ui_lookup calls are working with :tables key and some with :model key, some keys appear in both sections (for example Infrastructure Provider) - why, and which one should be used?
C. .po files - some information is there as well in addition to en.yml - what should go there? how stuff from that file should be referenced?
Please clarify the above. Thank you!