I have a site which targets several industries.
So in one industry the manager would be called "department head" and in the other "inspector".
Can I solve this issue with gettext, as it is in a way a multi linguistic problem.
views:
38answers:
1
A:
You can easily solve this with gettext even if the site will be multilanguage. On the page load you need to define the language this time "dep. head" or "inspector".
fabrik
2010-07-22 13:14:28
Not sure I understood you. Both of those wordings are of the same LOCALE
Itay Moav
2010-07-22 13:54:18
It's no problem. Based on the requested industry you load the related "language" file which isn't a real language but a different style.
fabrik
2010-07-22 14:14:25
so I can call the locale what ever I want?
Itay Moav
2010-07-23 13:18:52
i don't see any restriction at setlocale's documentation. I tried to set a fictional language and it doesn't throw an error. And finally: you can set any unused (real) language if everything else fails. :)
fabrik
2010-07-23 13:27:40