How to insert i18n stuff inside templates
¤è«T´¼ wrote:
Juan C. Rey Anaya wrote: Hello ¤è«T´¼: have you inserted i18n stuff inside templates?
Where should I insert it ?
--------------------------------------------- In templates/listinfo.html we must to insert: --------------------------------------------- <!-- $Revision: 1.20 $ --> <HTML> <HEAD> <TITLE><MM-List-Name> Info Page</TITLE> </HEAD> <BODY BGCOLOR="#ffffff"> <MM-Subscribe-Form-Start> <P> <TABLE COLS="1" BORDER="0" CELLSPACING="4" CELLPADDING="5"> <TR> <TD COLSPAN="2" WIDTH="100%" BGCOLOR="#99CCFF" ALIGN="CENTER"> <B><FONT COLOR="#000000" SIZE="+1"><MM-List-Name> -- <MM-List-Description></FONT></B> </TD> </TR> <tr> <td colspan="2"> <p> </td> </tr> <tr> <TD COLSPAN="2" WIDTH="100%" BGCOLOR="#FFF0D0"> <B><FONT COLOR="#000000">About <MM-List-Name></FONT></B> </TD> + <TD COLSPAN="1" WIDTH="100%" BGCOLOR="#FFF0D0"> + <MM-lang-form-start><MM-displang-box> <MM-list-langs> + <MM-form-end> + </TD> </TR> <tr> <td colspan="2"> <P><MM-List-Info></P> <p> To see the collection of prior postings to the list, visit the <MM-Archive><MM-List-Name> Archives</MM-Archive>. [snip] <TR> <TD BGCOLOR="#dddddd">Reenter password to confirm:</TD> <TD><MM-Confirm-Password></TD> <TD> </TD></TR> + <tr> + <TD BGCOLOR="#dddddd">Which language do you prefer to display your messages?</TD> + <TD> <MM-list-langs></TD> + <TD> </TD></TR> <tr> <td>Would you like to receive list mail batched in a daily digest? </td> [snip] --------------- In options.html --------------- [snip] <tr><TD BGCOLOR="#dcdcdc"> <strong> Conceal yourself from subscriber list? </strong><br> <MM-Public-Subscription-Button> No <MM-Hide-Subscription-Button> Yes <p> </td></tr> + <tr><TD BGCOLOR="#dcdcdc"> + <strong> What language do you prefer?</strong><MM-list-langs> + </td></tr> + <tr><TD BGCOLOR="#dcdcdc"> Password: <MM-Digest-Pw-Box> <MM-Digest-Submit><p> </td></tr></table> </center> <p> <MM-Form-End> <MM-Mailman-Footer> </body> </html> -------------- In roster.html -------------- <!-- $Revision: 1.5 $ --> <HTML> <HEAD> <TITLE><MM-List-Name> Subscribers</TITLE> </HEAD> <BODY BGCOLOR="#ffffff"> <P> <TABLE WIDTH="100%" COLS="1" BORDER="0" CELLSPACING="4" CELLPADDING="5"> <TR> <TD COLSPAN="2" WIDTH="100%" BGCOLOR="#99CCFF" ALIGN="CENTER"> <B><FONT COLOR="#000000" SIZE="+1"><MM-List-Name> Subscribers</FONT></B> </TD> </TR> <TR> <TD COLSPAN="2" WIDTH="100%" ALIGN="CENTER"> + <P align = "right"> <MM-lang-form-start><MM-displang-box> + <MM-list-langs><MM-form-end></p> <P>Click on your address to visit your subscription options page.<br><I>(Parenthesized entries have list delivery disabled.)</I></P> </TD> </TR> <TR WIDTH="100%" VALIGN="top"> <TD BGCOLOR="#FFF0D0" WIDTH="50%"> <center> <B><FONT COLOR="#000000"><MM-Num-Reg-Users> Non-digested Members of <MM-List-Name>:</FONT></B> </center> </TD> <TD BGCOLOR="#FFF0D0" WIDTH="50%"> <center> <B><FONT COLOR="#000000"><MM-Num-Digesters> Digested Members of <MM-List-Name>:</FONT></B> </center> </TD> </TR> <TR VALIGN="top"> <td> <P><MM-Regular-Users> </td> <td> <P><MM-Digest-Users> </td> </tr> </table> <MM-Mailman-Footer> </BODY> ----------------------------------------------------------- I did not give importance to appearance. Appearance ideas will be welcome. Cheers -- ___ / F \ [[[]]]] ( O O ) #----------------0000--(_)--0000---------------# | Juan Carlos Rey Anaya (jcrey@uma.es) | | Servicio Central de informática | | Universidad de Málaga - España | #----------------------------------------------# # Solo se que cada vez se menos :-| # #----------------------------------------------#
participants (1)
-
Juan Carlos Rey Anaya