HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Ho to do default language not English

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#61224 (In Topic #13316)

Non-joined user

Lithuanian characters

  1. At first I can't join (sign) forum. It is good, that I can write as quest.
  2. I have decided to learn ocportal but I have many problems with Lithuanian characters although I have corrected global.ini file as you suggested to charset 8859-4, although we really need utf-8 to show everything correctly. I have read that unicodes isn't recomended for Ocportal, although I tried it three times. After working with language redactor my website (frontpage and backend) has extended incredible: the center column went underneadth left column.

    I have reinstalled ocportal 3 times because of this.Now adjusted global.ini file to charset 8859-4 and I am afraid to work with language redactor again.
  3. After I did LT folder in folder lang with only a global.ini file, l got Lithuanian charcters in text, but in other places didn't. I got lang_lang-lt.po and uploaded it to lang_custom/LT folder but I don't know what it gives ??? How extract it ???
  4. How to do Lithuanian language default for ocportal?
Even my sourses show:

<html id="main_website_html" xmlns="XHTML namespace" xml:lang="EN" lang="EN" dir="ltr">
<head profile="GRDDL Data Views: RDF expressed in XHTML and XML Expressing Dublin Core in HTML/XHTML meta and link elements XFN 1.1 profile hCard Profile [EXPERIMENTAL]">
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=ISO-8859-1" />
This isn't OK

Please help me ! I am reading and reading all tutorials… and no result
Back to the top
 
Posted
Rating:
#61228
Avatar

Hi Beata,

1- We'll look into this.

2a- I have replied to your other topic.

2b- This is a common mistake in translating. The 'en_left' 'en_right' and 'dir' language strings should not be translated. This is because they are used in CSS and CSS is English. The strings are there to allow people to make right-to-left designs (e.g. Arabic).

3- ocPortal will recognise 'global.po'. On Launchpad you need to download the full archive for the language, not individual files. If you open the Language tools in ocPortal (Admin Zone, Style, Language, …) you can see what is in the po files. Alternatively you can open them in notepad.

4- Use /config_editor.php on your site to change EN to LI.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
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 ocPortal whenever you see the opportunity.
  • 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 ocPortal 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.
Back to the top
 
Posted
Rating:
#61232

Non-joined user

Thank you for help.

I know how to translate lang/EN into Lithuanian from FTP. BUT my question - do I need all files in Lithuanian? I can work with English admin_zone, I need in Lithuanian only what visitors can see

As for Lanchpad I have downloaded now global.pot_global-lt.po and uploaded it to lang_custom/LT - is this correct? For a while don't see results

I changed to LT in config_editor.php and now I see Lithuanian first in language editor

I have more questions:

  1. Some Lithuanian characters can be seen in menu (on my image in green), but other not (in red). This is letter - (in unicode - –). I have proseeded language editor for menu and blocks for Lithuanian but it didn't help. Do I need it?
  2. On the very top of my image you see also missing one letter and now I can't find where it is written. Maybe I can now improve, but don't find… Could you remind please?

Back to the top
 
Posted
Rating:
#61234

Non-joined user

Sorry, characters in post became damaged. Look at image - it should be such letter instead "

Back to the top
 
Posted
Rating:
#61272
Avatar

I know how to translate lang/EN into Lithuanian from FTP. BUT my question - do I need all files in Lithuanian? I can work with English admin_zone, I need in Lithuanian only what visitors can see

You don't need all the files, no. However, the files are not split up by whether they are admin zone or not – they are split up by addon (basically). E.g. galleries.ini contains all strings relating to galleries, some are used for admin, some are used for the website.

As for Lanchpad I have downloaded now global.pot_global-lt.po and uploaded it to lang_custom/LT - is this correct? For a while don't see results

It should be global.po or global-lt.po or global_lt.po. Those are the only filenames ocPortal will look at as alternatives to global.ini.
One of the launchpad download links automatically names things like this, but I can't remember where that is at the moment.

Some Lithuanian characters can be seen in menu (on my image in green), but other not (in red). This is letter - (in unicode - -). I have proseeded language editor for menu and blocks for Lithuanian but it didn't help. Do I need it?

I would guess that the encoding in unicode is different to the encoding in the character set you're using. Setting ocPortal to unicode (utf-8) should work, and this is what Launchpad saves things as.

On the very top of my image you see also missing one letter and now I can't find where it is written. Maybe I can now improve, but don't find… Could you remind please?

This is probably a problem with the font we use to generate that logo. You can just upload your own logo instead. You find many similar problems to this as we don't use fonts directly on the server much.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
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 ocPortal whenever you see the opportunity.
  • 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 ocPortal 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.
Back to the top
 
Posted
Rating:
#61346

Non-joined user

It seems I have posted yesterday an answer, but don't see today, so I repeat it:

[quota]You don't need all the files, no.[/quota]

1. It would be good to separate language files for admin panel and for user like for instance in Joomla.
 Now I should I investigate which files can see my visitors, which are fo admin only.

2. I can't find global.po for lithuanian, so I need to search what I could transalte myself for my use….

3. At present my coding is like you have suggested is 8859-4. If I try to change again for UTF-8, I get now more problems and need
everything to redo again.
 
4. As for your last  comments, of course I can do my own logo, but for a while I am doing acquitance with ocPortal and can't find where
I wrote this title which appear on very top of my website. It seems the way is only to do reinstallation the 4th time.
 My URL is Visiems

Wouldn't you like to rearange all system to UTF-8, like  Joomla developer did it from version 1,5? No problems fo all not english users since than.
It would be very convenient, of course if you want your CMS to be used in other languages…
Back to the top
 
Posted
Rating:
#61353
Avatar

Here's the link to download everything from Launchpad:
https://translations.launchpad.net/ocportal/4.2.0/+export

I get now more problems and need everything to redo again

There could be problems with content if it was already entered in 8859-4, yes.

of course I can do my own logo, but for a while I am doing acquitance with ocPortal and can't find where

The quickest way…
Hold down ctrl+alt+shift and click it. If that doesn't work try other combinations like ctrl+alt and click.

can't find where
I wrote this title which appear on very top of my website. It seems the way is only to do reinstallation the 4th time.

You can re-run the Setup Wizard (under the Setup section of the Admin Zone), or access the settings. If you're not sure where the settings are, you can search the Admin Zone in the search box. Put the current setting in quotes and search.

Wouldn't you like to rearange all system to UTF-8, like  Joomla developer did it from version 1,5? No problems fo all not english users since than.

When PHP officially supports UTF-8 we are likely to do this. Currently it is done via optional PHP extensions and some custom code, so won't work on all servers. Joomla is a much more basic system than ocPortal, so they may be able to cheat somehow.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
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 ocPortal whenever you see the opportunity.
  • 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 ocPortal 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.
Back to the top
 
Posted
Rating:
#61375
Avatar

Well-settled

Hello,

I am dissapointed… No Setup Wizard again didn't help.
I have never redid top image -logo.png, how that title appeared, I don't know.
I have did a new -logo.png - it didn't appeared - got note "Frontpage"
uninstalled ocportal…
_________________________
I started the website fourth time, reinstalled again with UTF-8 encoding
When I ticked to "website follow browser", characters appeared correctly

I think, this is my last trial. If I will not cope with language characters, l leave ocportal

Just one question:
It seems finally I got correct po ( launchpad-export.tar.gz) - thank you.
When I have unzipped, I see many folders with all languages in subfolders

What I should do now? I think:

1. I will create LT in lang directory
2. I will choose all files with lt from all lanchpad directories and will upload all files to lang/LT (like they are in lang/EN)


Is this correct? :(

My trial to learn ocPortal
~~~~~~~~~~~~~~~~~
http://audrone.serveriai.lt/straipsniai/
Back to the top
 
Posted
Rating:
#61376
Avatar

Yes, that's correct.

If you ask specific questions in clear English with screenshots and be patient to wait for a reply, you're very likely to get one – there's no need to keep reinstalling.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
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 ocPortal whenever you see the opportunity.
  • 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 ocPortal 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.
Back to the top
 
Posted
Rating:
#61382
Avatar

Well-settled

Chris,
Thank you for help very much.

Do you mean that I am unpatient and need to wait results in my changes on the website or

I need to wait an answer in forum?

Maybe the results should appear later, but… when I have changed encoding, all articles had lost lithuanian characters and I couldn't them correct=edit; thefore it was easier to reinstall… and that logo has appeared with my text accidentally…

( For instance, it is need to run update.php file in Drupal after some changes to get results… )

It seems everything is going OK with language by coding with UTF-8 :|

Now I am learning-investigating a creation of menu…

What is better to open ticket when have question, or ask in forum?

My trial to learn ocPortal
~~~~~~~~~~~~~~~~~
http://audrone.serveriai.lt/straipsniai/
Back to the top
 
Posted
Rating:
#61383
Avatar

Community saint

Beata said

What is better to open ticket when have question, or ask in forum?

Forum is best result… in case others have same problems as you do.  :)

I think Chris meant to be patient on the forums. Don't continue reinstalling every time there's a problem. Just wait for him (or someone else who has read your post) to reply to your question before you do anything.

And welcome to ocPortal! It's wonderful to see someone from another country building with ocPortal.  :thumbs: (Keep us updated on how your site progresses)

Eric DeMars . com
My electronic portfolio and personal site. Uses ocPortal!
Back to the top
 
Posted
Rating:
#61384
Avatar

Yeah, what Eric said. I hate to see people getting frustrated, it's bad for them, and it makes us look bad too. I'd much rather take time to find constructive solutions.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
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 ocPortal whenever you see the opportunity.
  • 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 ocPortal 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.
Back to the top
 
Posted
Rating:
#61416
Avatar

Well-settled

Chris and Eric,

Thank you ;) !
I know Joomla quite good, a little Drupal, Wordpress, E-107, Moodle and php-fusion…

It was interesting to learn ocportal like a new for me and as so much promised in its presentation.

I think, you will keep hearing from me in forum because it is only the beginning of my acquintance with ocportal.

It is good that there is much help material but sometimes it is not everything clear for me…
Everything is in place: forum (no need to integrate, galleries, blogs and much possibilities for communities and its members).

Working with other CMS we need much diferent extensions. I am just curiuos - no extension for ocportal? and no themes to download and install?

My trial to learn ocPortal
~~~~~~~~~~~~~~~~~
http://audrone.serveriai.lt/straipsniai/
Back to the top
 
Posted
Rating:
#61425
Avatar

Community saint

I used to be a php-nuke and php-fusion user, but when I found ocPortal…. I fell in love with it. And it's continuous growth makes me stay. And the members here as well… very friendly group of people.

Try out the theme wizard. You can get to it via Admin Zone > Style > Theme Wizard. This is a great way to start learning to theme your site on your own. Also look at the Themes forum here for all the tutorials listed. ocPortal has a few official ones and Islander-aua as supplied a few as well.

Also, check out the Introduction forum and its subforum of Post Your Site. If you see a site with a theme you like, you could send a personal topic to that user and see if they'd be willing to share their theme with you. Most folks in there created their own themes. That's how easy it is to theme ocPortal. Just takes a little time and patience.

Eric DeMars . com
My electronic portfolio and personal site. Uses ocPortal!
Back to the top
 
Posted
Rating:
#61457
Avatar

Well-settled

As for Theme wizard, I tried, but see that it is give a posibility to adjust only colors

I prefer Joomla to all other CMS :-)

Thank you for sugestions, there is much to read …

My trial to learn ocPortal
~~~~~~~~~~~~~~~~~
http://audrone.serveriai.lt/straipsniai/
Back to the top
 
Posted
Rating:
#61458
Avatar

Community saint

Don't hesitate to ask any themeing questions.

Eric DeMars . com
My electronic portfolio and personal site. Uses ocPortal!
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: