Language block

Anyone running a multi-language V10 ??

Me
Not me
Me, translated but not multi-language

Post

Posted
Rating:
#437 (In Topic #96)
Avatar
Standard member
moimaim is in the usergroup ‘Community saint’

Lots of various issues since "language block" was added

HI everyone

Been trying for a while to install a second language on my new V10.

It's not simple…. lots of stacks everywhere, but could make do until now (main goal was to translate it, and get an idea of what all these strings meant).

The last one is a bit more of a problem…

Expand: Stack Stack


Would have included the whole stack, but script says message is too long…

If needed, it's here: stack

precorp.fr
lddp.eu


Last one to leave the country, please turn off the lights.
Online now: No Back to the top

Post

Posted
Rating:
#438
Avatar
Standard member
moimaim is in the usergroup ‘Community saint’
Still relating to languages, I also get these everytime I try to do sthing:

Expand: sample rants sample rants

File missing things arrived before I added the language block, after I started copying translated .ini files in the custom lang folders.

Deprecated things, I guess I asked for it…   Had stacks all the time, really invalidating, saying diff.php and commander_fs.php were missing. Checked, and they were there, so I copied them to the sources_custom folder, to see what would happen. It works, but I get these instead…

precorp.fr
lddp.eu


Last one to leave the country, please turn off the lights.
Online now: No Back to the top

Post

Posted
Rating:
#439
Avatar
Site staff
Adam Edington is in the usergroup ‘Super-moderators’
Pretty sure these issues will be fixed before the final stable release. I know Internationlization wasn't fully implemented a few months ago, maybe there are still things to do. Reports of issues always help of course :)
Online now: No Back to the top

Post

Posted
Rating:
Item has a rating of 5 (Liked by Adam Edington)
#440
Avatar
Standard member
moimaim is in the usergroup ‘Community saint’
Actually, I was expecting worse…
From what I've seen, I'm reasonnably sure it can work pretty much "as is" with one foreign language, replacing English. It only becomes tricky when you want to have more than one, and switch from one to the other.
The love story between ocp and languages has been ongoing for about 10 years now… :D

precorp.fr
lddp.eu


Last one to leave the country, please turn off the lights.
Online now: No Back to the top

Post

Posted
Rating:
#444
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hey,

Actually what it is is now the default functioning of a Composr install is to not support content translations. This change increases performance a lot and makes it a whole lot simpler for developers. Almost nobody used the content translation feature anyway.

Therefore installs with content translation support turned on haven't been as well tested and a lot of code was changed to make this multi-modal model work.

I'm taking a look now. I'll make sure it's all working well. It's just a matter of what people have tested so far.

This is subtly separate to the ability to run multiple languages on the same site. Even without content translations you can do that, and use (for example) different zones for different languages.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#445
Avatar
Standard member
moimaim is in the usergroup ‘Community saint’
What a pity, translating content was a real plus. Never mind. How do I turn it off?

precorp.fr
lddp.eu


Last one to leave the country, please turn off the lights.
Online now: No Back to the top

Post

Posted
Rating:
#446
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Well, we're supporting it - it's just buggy right now. I'll likely reply in a few hours with a patch for you.

Turning it off is difficult as it has to rebuild the database structure differently. It's in one of the translation tutorials, but if I were you I'd wait for me to provide a fix ;).


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#447
Avatar
Standard member
moimaim is in the usergroup ‘Community saint’
I'll wait for a fix :)
No hurry, got lots of other stuff to play with.

What about the deprecated things?

precorp.fr
lddp.eu


Last one to leave the country, please turn off the lights.
Online now: No Back to the top

Post

Posted
Rating:
#452
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Ok a few things here, and I've decided to put out another RC now as quite a few varied issues came in today.

Issues here, now fixed:
  1. Deprecation errors on PHP7 in a few isolated areas
  2. Very nasty bug with language packs
  3. Specific bug with broken DOC_EMAIL_LOG language string reference (looked like it was a multi-lang-content bug, but I think it's just that an existing bug only became visible on that mode)



Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#453
Avatar
Standard member
moimaim is in the usergroup ‘Community saint’
Just upgraded to 5.

Left panel has improved, all the nice little icons are there.
Center panel layout has gone, it's all one column now.
Loggin out then logging in with a different user seems to be a problem, although switching users using SU seems to work fine.
Fall back to english language files doesn't seem to work everytime, sometimes the fields are in english, other times they're empty (left panel site statistics).

More about all this in the morning ;)

Thx for the quick upgrade  :thumbs:

precorp.fr
lddp.eu


Last one to leave the country, please turn off the lights.
Online now: No Back to the top

Post

Posted
Rating:
#454
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Center panel layout has gone, it's all one column now.

In Comcode the default columns are built something like this:

Code

   [surround="fp_col_blocks_wrap pale_box"]
      [surround="fp_col_block left"]
         [block failsafe="1"]main_poll[/block]
      [/surround]

      [surround="fp_col_block right pale_box"]
         {$SET,simple_image_fader,1}
         [block failsafe="1"]main_image_fader[/block]
      [/surround]
   [/surround]

The "left" CSS class draws on the en_left language string:

Code

.left {
   float: {!en_left};
}

If that was translated to something other than 'left' or 'right', it will not float. That's a common thing, a few of these entries in global.ini are there for parts of internationalisation other than translation. In this case it's to support rtl layouts.

Loggin out then logging in with a different user seems to be a problem, although switching users using SU seems to work fine.
Fall back to english language files doesn't seem to work everytime, sometimes the fields are in english, other times they're empty (left panel site statistics).

Is it possible that just the caches need emptying?
I just ran some more testing and it's okay from here.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Forum statistics:
  • 2,052 topics, 7,195 posts, 10,825 members
  • Our newest member is deek
Birthdays:
Back to Top