Last modified: 2011-05-31 15:39:22 UTC
kazakh language actually have three script variants: Cyrillic, Latin, Arabic. I implemented switching routine like in sr and zh wikis. I request checking and adding to SVN and live site kk.wikipedia.org Files followed in minutes...
Created attachment 2098 [details] LanguageKk.deps.php
Created attachment 2100 [details] LanguageKk.php
Created attachment 2101 [details] LanguageKk_cn.deps.php
Created attachment 2102 [details] LanguageKk_cn.php
Created attachment 2104 [details] LanguageKk_kz.php
Created attachment 2105 [details] LanguageKk_tr.deps.php
Created attachment 2106 [details] LanguageKk_tr.php
Created attachment 2107 [details] MessagesKk_cn.php
Created attachment 2108 [details] MessagesKk_kz.php
Created attachment 2109 [details] MessagesKk_tr.php
See also bugs 6700 and 6701 for changes in Names.php and Messages.php for language variant codes kk-cn, kk-kz, kk-tr
Is anybody there? Where reactions?
Developers usually don't have the will to inspect/"proofread" this many attachments, so I'd suggest exercising patience. At least, we (the sr: wikipedia) waited a lot longer :)
Can you please update your patches to the new format?
(In reply to comment #14) > Can you please update your patches to the new format? OK. I will do this as soon as possible.
Created attachment 2387 [details] LanguageKk.deps.php
Created attachment 2388 [details] LanguageKk.php
Created attachment 2389 [details] LanguageKk_cn.deps.php
Created attachment 2390 [details] LanguageKk_cn.php
Created attachment 2391 [details] LanguageKk_kz.php
Created attachment 2392 [details] LanguageKk_tr.deps.php
Created attachment 2393 [details] LanguageKk_tr.php
Created attachment 2394 [details] MessagesKk_cn.php
Created attachment 2395 [details] MessagesKk_kz.php
Created attachment 2396 [details] MessagesKk_tr.php
(In reply to comment #14) > Can you please update your patches to the new format? Done.
If I select 'kk' in my profile, the interface language falls back zo 'en'. Shouldn't it better be one of the variants?
Created attachment 2397 [details] errors & hints to kk_* Attached you will find some errors/hints for your translations. Can you please fix them? Especially the tranlation for the extensions have to be removed - they have to be done in the extensions directly.
For 'blocklogtext' and 'cannotdelete' you use something like http://{{SERVERNAME}}/w/index.php?title= This won't work on all installations - can you please replace this with wiki links, like f.e. "[[Special:Newpages]]" instead of "http://{{SERVERNAME}}/w/index.php?title=Special:Newpages"
Also in 'prefs-help-email' the url is not correct: href="http://{{SERVERNAME}}/wiki/Help:E-poşta_jayın_kwälandırw" What if someone wants to install his wiki under "http://hisserver.com/another-subdirectory/"?
Created attachment 2400 [details] MessagesKk_cn.php
Created attachment 2401 [details] MessagesKk_kz.php
Created attachment 2402 [details] MessagesKk_tr.php
Created attachment 2403 [details] LanguageKk.php
Files, I hope, are fixed. Fallbacks works before converting to new format. I cannot test it on my localhost wiki because it is 1.61 only. Can You Jimmy or You Filip help with fallbacks stuff?
Message files are now looking good. Which variant should be the default for 'kk'?
(In reply to comment #36) > Message files are now looking good. Which variant should be the default for 'kk'? Default is 'kk-kz' (Cyrillic script)
Created attachment 2404 [details] MessagesKk.php
Created attachment 2405 [details] MessagesKk_cn.php
Created attachment 2406 [details] MessagesKk_kz.php
Created attachment 2407 [details] MessagesKk_tr.php
Added strings borrowed from 'sr'. I pray...
Created attachment 2411 [details] patch for trunk I removed some useless empty else{} blocks, did some other code formattings (tabs, spaces, dos2unix, ...) and created a unifed patch. Can someone please doublecheck it? For me it seems to be OK.
Comment on attachment 2397 [details] errors & hints to kk_* has been fixed
(In reply to comment #43) > Created an attachment (id=2411) [edit]patch for trunkI removed some useless empty else{} blocks, did some other code formattings(tabs, spaces, dos2unix, ...) and created a unifed patch.Can someone please doublecheck it? For me it seems to be OK. Currently I found some errors by my side. We soon votes for final. See [[kk:User:AlefZet]] for files versions and it's talk pages.
Today I download and install on localhost svn 16668. Switching of variants, fallback works as well, but what hell happened with specialpages? Is 16668 work version?
(In reply to comment #46) > Today I download and install on localhost svn 16668. Switching of variants, fallback works as well, but what hell happened with specialpages? Is 16668 work version? See also bug 7491
Created attachment 2474 [details] patch for trunk Changed for new directory
(In reply to comment #46) > Today I download and install on localhost svn 16668. Switching of variants, fallback works as well, > but what hell happened with specialpages? Is 16668 work version? Please tell us what exactly your/the problem with the specialpages?
Created attachment 2501 [details] languages\classes\LanguageKk.deps.php
Created attachment 2502 [details] languages\classes\LanguageKk.php
Created attachment 2503 [details] languages\classes\LanguageKk_kz.php
Created attachment 2504 [details] languages\messages\MessagesKk.php
Created attachment 2505 [details] languages\messages\MessagesKk_kz.php
Created attachment 2506 [details] languages\messages\MessagesKk_tr.php
Created attachment 2507 [details] languages\messages\MessagesKk_cn.php
See above final version files for kk. All synchronized with SVN r17021. Please commit it to SVN and live kk brunches of Wikimedia projects. Thanks.
For the future, it's easier for the devs if you use the command "svn diff" to create a single patch file that will add all the files when applied, rather than a number of separate files that must be manually placed in the correct locations.
Created attachment 2514 [details] languages\classes\LanguageKk.php typo
Created attachment 2515 [details] languages\messages\MessagesKk_cn.php update
Created attachment 2516 [details] languages\messages\MessagesKk_kz.php update
Created attachment 2517 [details] languages\messages\MessagesKk_tr.php update
(In reply to comment #58) > For the future, it's easier for the devs if you use the command "svn diff" tocreate a single patch file that will add all the files when applied, rather thana number of separate files that must be manually placed in the correct locations. "svn diff" does patch for 2 files only that in SVN, namely for 'MessagesKk.php' and 'MessagesKk_cn.php', and does not includes MessagesKk_kz.php etc
(In reply to comment #63) > (In reply to comment #58) > > For the future, it's easier for the devs if you use the command "svn diff" tocreate a single patch > file that will add all the files when applied, rather thana number of separate files that must be > manually placed in the correct locations. > > "svn diff" does patch for 2 files only that in SVN, namely for 'MessagesKk.php' > and 'MessagesKk_cn.php', and does not includes MessagesKk_kz.php etc > Use "svn add languages/messages/MessagesKk_kz.php" etc. to add them to your working copy folders (so that they are not considered "some unknown files", but "files to be added to the next commit/diff"), and therefore for the diff. It will be exist in the diffs until you use "svn revert". See http://www.mediawiki.org/wiki/Subversion for additional information.
(In reply to comment #64) > Use "svn add languages/messages/MessagesKk_kz.php" etc. Does not work with error "is not under version control".
Created attachment 2522 [details] languages\messages\MessagesKk_cn.php MakeSysop messages is synchronized with MakeSysop extension
Created attachment 2523 [details] languages\messages\MessagesKk_kz.php MakeSysop messages is synchronized with MakeSysop extension
Created attachment 2524 [details] languages\messages\MessagesKk_tr.php MakeSysop messages is synchronized with MakeSysop extension
Changed summary to more descriptive expression
Created attachment 2544 [details] languages\messages\MessagesKk_cn.php updates
Created attachment 2545 [details] languages\messages\MessagesKk_kz.php updates
Created attachment 2546 [details] languages\messages\MessagesKk_tr.php updates
Created attachment 2557 [details] patch for trunk Patch for trunk, include 2501: languages\classes\LanguageKk.deps.php 2503: languages\classes\LanguageKk_kz.php 2504: languages\messages\MessagesKk.php 2514: languages\classes\LanguageKk.php 2544: languages\messages\MessagesKk_cn.php 2545: languages\messages\MessagesKk_kz.php 2546: languages\messages\MessagesKk_tr.php
Jimmy and Rotem, please commit the patch to SVN. Seems, everething works as expected. Thanks, [[kk:User_talk:AlefZet]]
(In reply to comment #74) > Jimmy and Rotem, > please commit the patch to SVN. Seems, everething works as expected. > Thanks, > [[kk:User_talk:AlefZet]] Please do NOT add people to CC without asking them before - Rotem and me are reading the bugzilla mailing list (wikibugs-l@wikipedia.org). We do not need this kind of spam ...
Ok. Sorry...
Created attachment 2578 [details] patch for trunk (extensions) Kazakh internationalizations for extensions (mostly installed on Wikimedia projects).
*** Bug 7711 has been marked as a duplicate of this bug. ***
*** Bug 7694 has been marked as a duplicate of this bug. ***
*** Bug 7695 has been marked as a duplicate of this bug. ***
*** Bug 7696 has been marked as a duplicate of this bug. ***
*** Bug 7697 has been marked as a duplicate of this bug. ***
*** Bug 7698 has been marked as a duplicate of this bug. ***
*** Bug 7699 has been marked as a duplicate of this bug. ***
*** Bug 7701 has been marked as a duplicate of this bug. ***
*** Bug 7702 has been marked as a duplicate of this bug. ***
*** Bug 7703 has been marked as a duplicate of this bug. ***
*** Bug 7704 has been marked as a duplicate of this bug. ***
*** Bug 7705 has been marked as a duplicate of this bug. ***
*** Bug 7706 has been marked as a duplicate of this bug. ***
*** Bug 7707 has been marked as a duplicate of this bug. ***
*** Bug 7708 has been marked as a duplicate of this bug. ***
*** Bug 7709 has been marked as a duplicate of this bug. ***
*** Bug 7710 has been marked as a duplicate of this bug. ***
*** Bug 7630 has been marked as a duplicate of this bug. ***
Created attachment 2579 [details] patch for trunk (MediaWiki) added newly introduced key 'undeleterevision-missing'
Created attachment 2580 [details] patch for trunk (MediaWiki) cross links to namespace aliases
Comment on attachment 2580 [details] patch for trunk (MediaWiki) This patch seems to break when the "mb" PHP extension is not installed (e.g. my installation). It may not break on Wikimedia sites, but it should be fixed to match installations without "mb".
The crucial problem is mb_strlen () function. Please try add in GlobalFunctions.php the function bellow: # UTF-8 strlen function based on a PHP manual http://www.php.net/manual/function.strlen.php comment by anpaza at mail dot ru if ( !function_exists( 'mb_strlen' ) ) { function mb_strlen( $str ) { $i = 0; $count = 0; $len = strlen ($str); while ($i < $len) { $chr = ord ($str[$i]); $count++; $i++; if ($i >= $len) break; if ($chr & 0x80) { $chr <<= 1; while ($chr & 0x80) { $i++; $chr <<= 1; } } } return $count; } }
(In reply to comment #99) Don't worry. I rewrite the code. See attach.
Created attachment 2586 [details] patch for trunk (MediaWiki)
(In reply to comment #100) > I rewrite the code... ...without any mbstring functions. (Forgot add end words.) So,not need custom mb_strlen() function.
Created attachment 2600 [details] patch for trunk (MediaWiki) latest updates (tooltips an other stuff)
Created attachment 2601 [details] patch for trunk (MediaWiki) typo
Created attachment 2602 [details] patch for trunk (MediaWiki) synchronize with r17308
Created attachment 2612 [details] patch for trunk (MediaWiki) added $specialPageAliases conten
Created attachment 2613 [details] patch for trunk (MediaWiki)
Hi people. Is any chance for it patch to be merge to svn? It is tested repetedly on my localhost. Seems ready...
Created attachment 2625 [details] patch for trunk (MediaWiki) message updates
Created attachment 2646 [details] patch for trunk (MediaWiki) Rebuild messages, clean up the code
Added patch to r17461, except for the special page alises which should be added to http://www.mediawiki.org/wiki/Special_page_names instead for now, I think. If something went wrong, it's possible to revert. Sorry for the long wait, and thanks for your work. You are welcome to update the translation when the English one is updated, but please, do that in another bug ;-) .
Reopened because is not merged patch for extensions i18n http://bugzilla.wikimedia.org/attachment.cgi?id=2578
See Bug 7971: Kazakh i18n updates for extensions *** This bug has been marked as a duplicate of 7971 ***
Not a duplicate, because most of the bug was about the regular updates.