[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Internationalization Question: translation of messages from Modules
****** message to minivend-users from jojo@buchonline.net ******
On 31 Mar, Shozo Murahashi wrote:
> ****** message to minivend-users from "Shozo Murahashi" <murahashi@ayayu.com> ******
>
> Minivend Internationalization capabilities are excellent.
> But I still have a little issue on internationalization.
>
> Some small messages are come from Minivend modules directly.
> For example, login password error message, "Password mismatch" is
> from UserDB.pm.
>
> How should I replace these small messages to non-English languages?
> Is there any other localize Tags?
Shozo-san,
how about
[if session failure]
<FONT COLOR="RED">[L]ERROR[/L]:</FONT><BR><BR>
<B>
[if session failure =~ /Username does not exist./][L]Username does not exist.[/L][/if]
[if session failure =~ /Not logged in/][L]Not logged in.[/L][/if]
[if session failure =~ /Username already exists./][L]Username already exists.[/L][/if]
[if session failure =~ /Bad object./]Bad object.[/L][/if]
[if session failure =~ /Already logged in. Log out first./][L]Already logged in. Log out first.[/L][/if]
[if session failure =~ /Sorry, reserved user name./][L]Sorry, reserved user name.[/L][/if]
[if session failure =~ /Must enter at least 4 characters for password./][L]Must enter at least 4 characters for password.[/L][/if]
[if session failure =~ /Password and check value don't match./][L]Password and check value don't match.[/L][/if]
[if session failure =~ /Must have longer username./][L]Must have longer username.[/L][/if]
[if session failure =~ /Can\'t have/][L]Can not have some characters.[/L] [L]Please use some like <BR>a-z, <BR>A-Z, <BR>0-9 <BR>and <BR>[/L]ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝ<BR>Þßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ[/if]
[if session failure =~ /Database access error./][L]Database access error.[/L][/if]
[if session failure =~ /Must have old password/][L]Must have old password.[/L][/if]
[if session failure =~ /Must enter at least 4 characters for password./][L]Must enter at least 4 characters for password.[/L][/if]
[if session failure =~ /Password mismatch./][L]Password mismatch.[/L][/if]
</FONT>
</B><BR>
[/if]
and use it the same like the other [L]...[/L] stuff.
Regards,
Joachim
--
Hans-Joachim Leidinger
buch online jojo@buchonline.net
Munscheidstr. 14 FAX: +49 209 1971449
45886 Gelsenkirchen FAX: 0209 1671449
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list