Senin, 06 Agustus 2012

Re: [MS_AccessPros] interface

 

I once followed this approach:

- Create a table with two or more fields for the languages
- Fill this with common phrases and words.
- create a global function "trans" with parameter Phrase

- With every control, messagebox etc, replace the caption or content with
trans ("mytext")
where mytext is a phrase in the primal language.

The function Trans looks up the right phrase and, here's the knack, it prompts you to add a translation for the case that you forgot one. It reads a global variable to determine what language is desired.

When writing the interface, you just write in the primal language,
When you start using or testing the application it will automatically prompt you to add the necessary translations.

Note: this assumes that the content of the tables is not language- specific.

I must have the function somewhere, if you are interested I can post it.

Greetings,

Onno Knol

--- In MS_Access_Professionals@yahoogroups.com, "Bill Mosca" <wrmosca@...> wrote:
>
> The easiest way is to build two separate front ends with linked tables to the
> back end. A much more delicate method would be to have the user select the
> preferred language from the startup form and then store that as a variable
> constantly showing/hiding labels on controls. For all the work involved, you
> might as well make two versions.
>
>
>
> Regards,
> Bill Mosca,
> Founder, MS_Access_Professionals
> That'll do IT <http://thatlldoit.com/> http://thatlldoit.com
> MS Access MVP
>
> <https://mvp.support.microsoft.com/profile=C4D9F5E7-BB03-4291-B816-64270730881E>
> https://mvp.support.microsoft.com/profile=C4D9F5E7-BB03-4291-B816-64270730881E
>
> My Nothing-to-do-with Access blog
>
> <http://wrmosca.wordpress.com> http://wrmosca.wordpress.com
>
>
>
> From: MS_Access_Professionals@yahoogroups.com
> [mailto:MS_Access_Professionals@yahoogroups.com] On Behalf Of Youssef
> Sent: Sunday, August 05, 2012 12:26 AM
> To: MS_Access_Professionals@yahoogroups.com
> Subject: [MS_AccessPros] interface
>
>
>
>
>
> what is the easiest way to build application with two languages interfaces?
>
>
>
>
>
> [Non-text portions of this message have been removed]
>

__._,_.___
Recent Activity:
.

__,_._,___

Tidak ada komentar:

Posting Komentar