[Squeak-fr] French EToys Vocabulary ?
philippe at capcod.com
philippe at capcod.com
Sun Feb 16 09:02:26 CET 2003
Tout est super simple, bien pensé pour que l'on puisse ajouter une langue
facilement, mais je ne suis pas sur de les suivre quant à la modif de
#assureTranslationsAvailableFor:
Voila ce que dit le template #templateForLanguageTranslation :
"Edit this method such that the second element of each triplet has the
translated wording and the third element has the translated
help-message; give the edited method a name of the form
#addLangVocabulary, and be sure to change the language name in the
three places that it occurs, as #YourLanguage, below.
A complete translation consists, as in #addKiswahiliVocabulary, of calls
to three methods, namely:
translateMethodInterfaceWordings:language:
translateCategories:language:
addToTranslationTableFrom:language:
After editing this method into the one that holds your language
translations, the next step is to edit #assureTranslationsAvailableFor: so
that it calls the method you just created when appropriate. Consult
#addKiswahiliVocabulary and its sender for a complete example to
emulate. "
Qu'en pensez-vous ?
Philippe
Stephane Ducasse écrit:
> squeak-dev at lists.squeakfoundation.org
>
>
> > J'ai fait l'essai de Vocabulary>>#initializeLanguageTable mais sans
> > succès.
>
> tu veux bien dire que tu a invoque la methode initializeLanguageTable
>
> Vocabulary initializeLanguageTable.
>
> Sinon as-tu regarder sur Swiki minnow?
>
>
> >
> > En fait je ne sais pas quoi faire avec la
> > EToysVocabulary>>#assureTranslationsAvailableFor car d'apres le
> > template il
> > faudrait la modifier mais c est pas clair, voir bizarre.
> >
> > Step, quelle est la mailing principale ? je ne connais que celle-ci et
> > désole si je suis pas au bon endroit avec ma question.
> >
> > Bon dimanche
> >
> > Philippe
> >
> >
> >
> > Benoit St-Jean écrit:
> >
> >> --- Stephane Ducasse <ducasse at iam.unibe.ch> wrote:
> >>> aucune idee mais cela serait bien j'ai toujours
> >>> voulu faire cela.
> >>> Demande dnas la mailing principale
> >>>
> >>> Stef
> >>> On Saturday, February 15, 2003, at 06:44 PM,
> >>> philippe at capcod.com wrote:
> >>>
> >>>>
> >>>>
> >>>> Bonjour à tous
> >>>>
> >>>> je voudrais ajouter le francais au Etoys. Pour
> >>> cela, j'ai ajouté une
> >>>> methode addFrenchVocabulary, comme indiqué dans le
> >>> template, et executé
> >>>> #assureTranslationsAvailableFor: , mais le
> >>> francais n'apparait pas
> >>>> dans la
> >>>> liste des langues dispo...
> >>>>
> >>>> Je ne sais pas ce que j'ai oublié mais ca ne
> >>> marche pas ;-)
> >>>>
> >>>> Si quelqu'un parmis vous peux m'aider.
> >>
> >> Avez-vous initialisé ?
> >>
> >> Vocabulary>>#initializeLanguageTable
> >>
> >> =====
> >> -------------------------
> >> Benoit St-Jean
> >> bstjean at yahoo.com
> >> Yahoo! Messenger: bstjean
> >> http://cactus.swiki.net
> >> -------------------------
> >> _______________________________________________
> >> Squeak-fr mailing list
> >> Squeak-fr at lists.squeakfoundation.org
> >> http://lists.squeakfoundation.org/listinfo/squeak-fr
> >
> >
> >
> > _______________________________________________
> > Squeak-fr mailing list
> > Squeak-fr at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/listinfo/squeak-fr
> >
> >
> Prof. Dr. Stéphane DUCASSE (ducasse at iam.unibe.ch)
> http://www.iam.unibe.ch/~ducasse/
> "if you knew today was your last day on earth, what would you do
> different? ... especially if, by doing something different, today
> might not be your last day on earth" Calvin&Hobbes
>
>
> _______________________________________________
> Squeak-fr mailing list
> Squeak-fr at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/squeak-fr
More information about the Squeak-fr
mailing list