plone / plone.app.multilingual

Plone Multilingual Content Add-on
https://pypi.org/project/plone.app.multilingual
19 stars 47 forks source link

I failed to install "plone.app.multilingual" in Plone 4.3.8. #223

Closed Gonchin closed 8 years ago

Gonchin commented 8 years ago

Hi It seems that "plone.app.multilingual" no longer supports Plone 4.3.x.

I failed to install "plone.app.multilingual" in Plone 4.3.x. as follows.

For using this package with Dexterity content types I added my eggs buildout section::

eggs =
    plone.app.multilingual [dexterity]

The both of Plone 4.3.7 and 4.3.8 do not work.

I have no idea. Help me. Thank you.

petschki commented 8 years ago

do you have pinned to the right version? https://github.com/plone/plone.app.multilingual#versions

Gonchin commented 8 years ago

Yes, I tried the version 1.x or 2.x of this addon.
Do you know the sutable version no. for Plone 4.3.8? Thank you for your comment.

petschki commented 8 years ago

well ... suitable version is described in README. maybe you can provide a traceback for more investigation

Gonchin commented 8 years ago

OK. I will show the detail information. For example, "buildout.cfg" and error messages etc.
Thank you.

Gonchin commented 8 years ago

I edited the buildout.cfg as follows.

Case 1. no pinned version [buildout] egg = plone.app.multilingual [dexterity] [versions]

After buildout, the console message shows as follows. UnknownExtra: plone.app.multilingual 2.0.0 has no such extra feature 'dexterity'

Case 2. version 1.0 [buildout] egg = plone.app.multilingual [dexterity] [versions] plone.app.multilingual = 1.0

After "buildout", the console message shows as follows.

Versions had to be automatically picked. The following part definition lists the versions picked: [versions] plone.multilingual = 1.2.1 plone.multilingualbehavior = 1.2.1 plone.recipe.command = 1.1 plone.recipe.precompiler = 0.6

Required by:

plone.app.multilingual==1.0

archetypes.multilingual = 3.0.2

Then restart Plone: 503 service Unavailable

Case 3. version 2.0 [buildout] egg = plone.app.multilingual [dexterity] [versions] plone.app.multilingual = 2.0

After buildout, the console message shows as follows. UnknownExtra: plone.app.multilingual 2.0.0 has no such extra feature 'dexterity'

It seems that "plone.app.multilingual 2.0" has been removed. I have no idea.

djowett commented 8 years ago

If you are (as it seems) starting from scratch, and you want to use dexterity, then you should add plone.app.contenttypes (1.1 branch) to your eggs, and use plone.app.multilingual 2.x branch (you can see the available recent releases on pypi - 2.0 does not exist, so you should probably choose 2.0.2 ). You can remove the "dexterity" feature in 2.x branch.

So:

 [buildout]
 ...
 eggs =
      plone.app.contenttypes
      plone.app.multilingual
...
[versions]
....
plone.app.contenttypes = 1.1
plone.app.multilingual = 2.0.2
Gonchin commented 8 years ago

Hi, Mr. djowett, The installation is successful. Thank you for your magic bullet. However, I cannot choose Chinese character set.
Anything else?

djowett commented 8 years ago

Go to the languages control panel

/@@language-controlpanel On 22/03/16 14:55, Gonchin wrote: > Hi, Mr. djowett, > The installation is successful. Thank you for your magic bullet. > However, I cannot choose Chinese character set. > > Anything else? > > — > You are receiving this because you commented. > Reply to this email directly or view it on GitHub > https://github.com/plone/plone.app.multilingual/issues/223#issuecomment-199852012 ## Daniel Jowett _Jowett Enterprises Ltd_ Tel: 0333 3 553 773 Mobile: 07870 667 126 daniel@jowettenterprises.com www.jowettenterprises.com
djowett commented 8 years ago

assuming this is sorted

Gonchin commented 8 years ago

Thank you for your advice.
Chinese character set becomes Japanese. It seems that Chinese character set is not ready for Plone 4.3.

djowett commented 8 years ago

That might be a general Plone issue rather than a problem with plone.app.multilingual. But it's more likely "just" to be a missing translation. New translations are always welcome.

I presume you have correct character sets loaded on your PC?

A screenshot of the issue might help.

On 22/03/16 20:11, Gonchin wrote:

Thank you for your advice.

Chinese character set becomes Japanese. It seems that Chinese character set is not ready for Plone 4.3.

— You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub https://github.com/plone/plone.app.multilingual/issues/223#issuecomment-199999300

Daniel Jowett

Jowett Enterprises Ltd Tel: 0333 3 553 773 Mobile: 07870 667 126 daniel@jowettenterprises.com www.jowettenterprises.com

Gonchin commented 8 years ago

I close this issue. Then I will issue a new one as to Chinese character-set in Plone 4.3. Thank you.