Error loading Seaside Gettext support

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

Error loading Seaside Gettext support

dario trussardi

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

Reply | Threaded
Open this post in threaded view
|

Re: Error loading Seaside Gettext support

dario trussardi
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
Reply | Threaded
Open this post in threaded view
|

Re: Error loading Seaside Gettext support

dario trussardi
Excuse me......

it's for Seaside problematic .... and relative mails ...

Sorry,

Dario
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