Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2005-05-22 18:12:39
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
I18n
Certain parts of TXP not localized.
1)admin setup screens before setup
2)presentation/forms All data in table cells (right side)
3)parsing error on title element of admin panel header element
Certain elements are not included in to TXP as for example the description links for page templates,those are not called from local language file.
admin setup sreens are not localized.
page title in header of admin page is creating parsing errors.
No localization of tabledata content of localized terms
in presentation/forms (right side)
Diagnostics below:
<code>
έκδωση Textpattern: 1.0rc3
Α
Last edited by marios (2005-05-22 18:35:56)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#2 2005-05-22 18:34:00
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: I18n
> page title in header of admin page is creating parsing errors.
Can you elaborate on this? What errors?
Alex
Offline
#3 2005-05-22 18:52:53
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Re: I18n
After full translation of language txt file and changing settings accordingly in txp_micsc.php,txp_prefs.php,indix.php,and publish.php
certain parts still remain in english(en_gb).
Locale for guesses array is as follows:
<code>
‘el-el’ => array(‘el_EL.UTF-8’, ‘el_EL’, ‘el’, ‘ell’, ‘greek’, ‘el_GR.ISO_8859-7’),
</code>
As anybody can see daignostics returns
<code>
Σ
Last edited by marios (2005-05-22 18:53:32)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#4 2005-05-22 18:56:29
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Re: I18n
> zem wrote:
> > page title in header of admin page is creating parsing errors.
Can you elaborate on this? What errors?
Only verified now in firefox 1.04 on brower window tab and in view source on title element.
regarrds, marios
Σ
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
Re: I18n
Marios, do you have a Greek translation for TXP? How complete is it? I’ve got one that’s about 50% complete, based on the latest SVN revision. Can you sent me yours so that I compare the two of them?
Also, I’m under the impression that the correct locale for Greek isn’t “el-el” but “el-gr”.
Last edited by Etz Haim (2005-05-23 04:17:53)
VC3 :: weblog :: my wishlist
Offline
#6 2005-05-23 05:53:56
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Offline
#7 2005-05-23 18:09:58
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Re: I18n
I’ve corrected the locale but still get gibberish on title attributes.Not sure if this is correct but now it’s like this:
<code>
‘el-gr’ => array(‘el_GR.UTF-8’, ‘el_GR’, ‘el’, ‘ell’, ‘gre’, ‘greek’, ‘el_GR.ISO_8859-7’),
</code>
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
Re: I18n
This is the first time I’m trying to translate the admin interface, and now only to confirm what you’ve been saying. I’ve used:
'el-gr' => array('el_GR.UTF-8', 'el_GR', 'el', 'gre', 'greek', 'el_GR.ISO_8859-7')
and I have the same problem. Seems like another i18n/unicode bug.
VC3 :: weblog :: my wishlist
Offline
#9 2005-05-23 20:51:24
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Re: I18n
There is more problems,allthough I updated the language file with the appropriate string, subject string in e-mail will return gibberish.
Viewing saved articles in Input field (presentation/write) will not display all characters correctly.
(I’ve allso changened the language attribute in xmlns of the admin doctype but no change)
BTW.: The settings that I use for testing are all based on UTF-8 though,that means collation in MySQL is utf general,
and default charset in Apache httpd.conf is allso set to UTF-8)
regards,marios
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
Re: I18n
marios, apart from the problems you’ve mentioned, do you think that Textpattern version 1 will come with Greek localization? ;)
VC3 :: weblog :: my wishlist
Offline
#11 2005-05-23 21:19:24
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Re: I18n
> Etz Haim wrote:
> This is the first time I’m trying to translate the admin interface, and now only to confirm what you’ve been saying. I’ve used:
'el-gr' => array('el_GR.UTF-8', 'el_GR', 'el', 'gre', 'greek', 'el_GR.ISO_8859-7')
and I have the same problem. Seems like another i18n/unicode bug.
Etz Heim,I would like to draw your attention to this very interesting greek related I18N document
came accross my browser apart from the w3c and UNI code site ones.
(Please note here allso about mapping differences of some characters like GREEK A WITH TONOS for example)
regards,marios
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#12 2005-05-23 21:26:08
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Re: I18n
> Etz Haim wrote:
> marios, apart from the problems you’ve mentioned, do you think that Textpattern version 1 will come with Greek localization? ;)
I have stopped working on RC-1,because I thought that it wouldn’t be possible to implement it in the turbulence of growing needs towards a CMS in generall,so I wouldn’t be able to anser your question in any case.
I would like to base my website on RC-3 exclusively,I think it’s up to par to deal much better with various aspects of security and of course I18N.
regards, marios
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#13 2005-05-23 21:38:18
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Re: I18n
I am not able to remember that I have started this thread in the plgins forum by accident or wheather it has been moved there later on.
But in any case,it belongs to the Localization forum, so if any admin could move it over there , would be great.
My appologies,if I did this by accident.
BTW.:Admins Change the title of this thread then to Greek localization.(If that makes sense)…:))
regards,marios
Last edited by marios (2005-05-23 21:47:06)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
Re: I18n
marios, my translation has advanced to near 100% and it’s revision 383-ready. I’d appreciate it if you sent me yours to compare even if it’s not complete.
Last edited by Etz Haim (2005-05-23 21:53:45)
VC3 :: weblog :: my wishlist
Offline
Re: I18n
Now there’s a fix to the gibberish-in-the-title problem:
Edit txplib_head.php, line 26 from:
<title>Textpattern & #8250; <?php echo strtolower($pagetitle)?></title>
to:
<title>Textpattern & #8250; <?php echo mb_strtolower($pagetitle, "UTF-8")?></title>
Requires PHP 4.3 and above with multibyte string support.
To get rid of the rest of the gibberish, you have to change the occurences of strtolower() to mb_strtolower() with “UTF-8” as a second argument.
Last edited by Etz Haim (2005-05-24 10:00:16)
VC3 :: weblog :: my wishlist
Offline