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@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@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@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@yahoo.com Yahoo! Messenger: bstjean http://cactus.swiki.net
Squeak-fr mailing list Squeak-fr@lists.squeakfoundation.org http://lists.squeakfoundation.org/listinfo/squeak-fr
Squeak-fr mailing list Squeak-fr@lists.squeakfoundation.org http://lists.squeakfoundation.org/listinfo/squeak-fr
Prof. Dr. St�phane DUCASSE (ducasse@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@lists.squeakfoundation.org http://lists.squeakfoundation.org/listinfo/squeak-fr