Droplist of translated month names
Does the translation need to happen in Omnis? I prefer to let the Web
whatever you fancy). That way, most of the web page content is
the server and easy to update by the web designer/developer. Chances are
will also have to do some translations for web pages that don’t
come from the Omnis ultra-thin server.
would be something like:
The Translate method would do a lookup in an Array with keys “varMonth?”
and the current language.
So it’s probably very similar to what you had in mind with string
but I feel it will be easier to maintain.
On 5 Jun 2017, at 15:54, Graham Stevens wrote:
> Hi All,
> We have an ultra-thin web application presenting pages in the user’s
> language. I now have a need to present a droplist of months. I don’t
> have a problem with presenting the list to the user but I need to
> populate it with the translated month names. I have a couple of ideas
> involving string tables or database entries to get the translated
> values but was wondering if anybody here has already done this with
> Omnis and would be willing to share any code snippets?
> Thanks and regards,
> Manage your list subscriptions at lists.omnis-dev.com
Manage your list subscriptions at lists.omnis-dev.com