Seaside Gettext support

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Seaside Gettext support

dtrussardi@tiscali.it
Ciao,

Ciao,

    i load correctly the Gettext support into:     Pharo 6.1-64 Latest update: #60510

    In the image was load the Seaside 3.2

    Now i do:

    (ConfigurationOfSeaside3 project version: #stable )
            load: #( 'Seaside-Gettext-Core' 'Seaside-Gettext-Examples').

    The system erase the error: 

NaturalLanguageTranslator class(Object)>>doesNotUnderstand: #domainRegistered:

TextDomainManager class>>registerDomain:
[ self registerDomain: domainName ] in TextDomainManager class>>domainInfoFor: in Block: [ self registerDomain: domainName ]
[ self at: key put: aBlock value ] in Dictionary>>at:ifAbsentPut: in Block: [ self at: key put: aBlock value ]
Dictionary>>at:ifAbsent:
Dictionary>>at:ifAbsentPut:
TextDomainManager class>>domainInfoFor:
TextDomainManager class>>registerCategoryPrefix:domain:
WAGettextExample class>>register
WAGettextExample class>>initialize

    Some considerations ?

    Thanks,

        Dario

After the error i restart the image and the: WAGettextExample class>>initialize   works well.

Now i don't understand what i need to do for create the relative  .pot  file.

The  WAGettextExample export  method  reference the: WAGetTextExporter  but  is not in the system.

The  GetTextExporter  exportTemplate  create only the  pharo.pot   file   (  ...  the relative  pharo.mo  works fine ).

Thanks for considerations,
Dario

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside