Page MenuHomePhabricator

Updates for Kazakh i18n
Closed, ResolvedPublic

Description

Author: alefzet

Description:
Updates, rebuilding, convertor bug fixes


Version: 1.11.x
Severity: normal

Details

Reference
bz7859

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:25 PM
bzimport set Reference to bz7859.
bzimport added a subscriber: Unknown Object (MLST).

alefzet wrote:

patch for trunk (MediaWiki)

attachment kk-diff.txt ignored as obsolete

alefzet wrote:

patch for trunk (MediaWiki)

remove redundant since now convertCategoryKey()

attachment kk-diff.txt ignored as obsolete

rotemliss wrote:

Applied to r17525.

Note that the translations do not include 7 messages:

  • image_sample
  • media_sample
  • edittools
  • sectionlink
  • allmessagesnotsupportedUI
  • spambot_username
  • newtalkseperator

You probably forgot to translate allmessagesnotsupportedUI. The others may be
added to the optional (or even ignored) messages later.

alefzet wrote:

(In reply to comment #3)

Applied to r17525.

Thanks!

You probably forgot to translate allmessagesnotsupportedUI.

It is not forgoted. That is intentionally. The message 'Your current interface language
<b>$1</b> is not supported by Special:Allmessages at this site.' user may be can't read, if user
language isn't Kazakh (or for example Hindi in appropriate wiki), even haven't a font for
display it. I think 'allmessagesnotsupportedUI' need be in ignored list.

rotemliss wrote:

(In reply to comment #4)

It is not forgoted. That is intentionally. The message 'Your current interface

language

<b>$1</b> is not supported by Special:Allmessages at this site.' user may be

can't read, if user

language isn't Kazakh (or for example Hindi in appropriate wiki), even haven't

a font for

display it. I think 'allmessagesnotsupportedUI' need be in ignored list.

Why? The message is not clear, but it probably means that Special:Allmessages is
not usable for this language, for some reason. It's not used anyway, and should
be removed (I wish to rebuild all the messages files, then I will be able to
remove a message from all of them using an automated script; though some
messages files may have to be skipped).

By the way, the JavaScript workaround caused a syntax error in PHP. Please check
for syntax errors before sending. Another possibility is just rebuilding the
messages as the last stage: the script won't read the file if it contains PHP
errors, and it will rebuild it if it doesn't contain them.

alefzet wrote:

(In reply to comment #5)

It's not used anyway, and shouldbe removed

Ok.

Another possibility is just rebuilding themessages as the last stage: the script won't read the

file if it contains PHPerrors, and it will rebuild it if it doesn't contain them.
Ok.
BTW What about patch for extensions i18n? http://bugzilla.wikimedia.org/attachment.cgi?
id=2578&action=view

rotemliss wrote:

(In reply to comment #6)

BTW What about patch for extensions i18n?

http://bugzilla.wikimedia.org/attachment.cgi?

id=2578&action=view

It contains several doubtful changes, e.g. removing one message in BoardVote.
Please check if all the changes are necessary.

alefzet wrote:

(In reply to comment #7)

It contains several doubtful changes, e.g. removing one message in BoardVote.Please check if all

the changes are necessary.

In original file BoardVote.i18n.php two lines duplicates each other:

68> 'boardvote_submit' => 'OK',
...
79> 'boardvote_submit' => 'OK',

differences is only whitespaces and tabs.

for WikiHiero i18n changes reasons see [[m:WikiHiero/Interface_translation]]

alefzet wrote:

patch for trunk (MediaWiki)

updates

attachment kk-diff.txt ignored as obsolete

rotemliss wrote:

Applied to r17537. Now nothing is missing from the translations except for the
EXIF messages - please add them when you like to do that. I hope to commit the
extensions patch soon, maybe tomorrow.

alefzet wrote:

patch for trunk (MediaWiki)

Add EXIF, words like MediaWiki, sRGB etc. are marked for preventing conversion,
updates.

attachment kk-diff.txt ignored as obsolete

alefzet wrote:

reopen for updates

rotemliss wrote:

Applied to r17723. Now just add the new parameters for 'old-revision-navigation'
to have a complete translation ;-) . Thank you very much for your work!

About the extension messages - I will hopefully review them soon, sorry for the
long waiting.

alefzet wrote:

patch for trunk (MediaWiki)

Current updates. Workaround js moved to newly introduced common.js

attachment kk-diff.txt ignored as obsolete

rotemliss wrote:

Applied to r17781, except for "revision-nav" which should not be translated.

alefzet wrote:

patch for trunk (MediaWiki)

updates

attachment kk.diff ignored as obsolete

rotemliss wrote:

Applied to r17908.

alefzet wrote:

patch for trunk (MediaWiki)

update

attachment kk.diff ignored as obsolete

rotemliss wrote:

Applied to r17924.

alefzet wrote:

patch for trunk (MediaWiki)

update (forgot variants)

attachment kk.diff ignored as obsolete

rotemliss wrote:

Applied to r17925.

alefzet wrote:

patch for trunk (MediaWiki)

Latest updates

attachment kk.diff ignored as obsolete

alefzet wrote:

Reopened due updates

alefzet wrote:

patch for trunk (MediaWiki)

Latest updates

attachment kk.diff ignored as obsolete

alefzet wrote:

patch for trunk (MediaWiki)

Forgot class updates

attachment kk.diff ignored as obsolete

leon wrote:

Applied in SVN trunk, r19547.

alefzet wrote:

Reopen for updates

alefzet wrote:

patch for trunk (MediaWiki)

Added translations for $specialPageAliases and for Special:Protectedpages

attachment kk.diff ignored as obsolete

alefzet wrote:

patch for trunk (MediaWiki)

...and more protection stuff update

attachment kk.diff ignored as obsolete

alefzet wrote:

Reopened for new stuff

alefzet wrote:

patch for trunk (MediaWiki)

New stuff

attachment kk.diff ignored as obsolete

(In reply to comment #32)

Created an attachment (id=3147) [edit]
patch for trunk (MediaWiki)

New stuff

Empty *-summary messages as mentioned by Niklas and outdated messages removed,
then reformatted with rebuildLanguage.php and applied with r20180

alefzet wrote:

Reopened for new stuff

alefzet wrote:

putch for trunk

Updates

attachment kk.diff ignored as obsolete

Please check some messages, I found unbalanced some <strong> </strong>:

at least at 'nonunicodebrowser', 'alreadyloggedin'

alefzet wrote:

putch for trunk

updated and revised

attachment kk.diff ignored as obsolete

alefzet wrote:

(In reply to comment #37)

Please check some messages, I found unbalanced some <strong> </strong>:at least

at 'nonunicodebrowser', 'alreadyloggedin'

Done.

Applied with r20737. Syntax errors fixed. Use "..." if you use '''...''' inside
a message.

alefzet wrote:

putch for trunk (MediaWiki)

Current updates

attachment kk.diff ignored as obsolete

alefzet wrote:

putch for trunk (MediaWiki)

Updates

attachment kk.diff ignored as obsolete

alefzet wrote:

putch for trunk (MediaWiki)

updates

attachment ext.diff ignored as obsolete

alefzet wrote:

putch for trunk (MediaWiki)

update

attachment kk.diff ignored as obsolete

alefzet wrote:

putch for trunk (MediaWiki)

Bugfixes for Arabic script

attachment kk.diff ignored as obsolete

alefzet wrote:

putch for trunk (MediaWiki)

Magic words are translated

attachment kk.diff ignored as obsolete

Applied with r21706.

Namespace aliases for renamed template/template talk namespaces added to avoid
broken links.

'common.js' needs escaping by \

FYI, there's some issues regarding for three files in the Kazakh messages file,
by running the checkLanguage.php file.

kk_cn:

1 messages of 1630 are not translated to kk_cn, but exist in en:

  • resetpass_text

1 messages of 1640 are not exist in en (or are in the ignored list), but still e
xist in kk_cn:

  • widthheight

1 messages of 1640 in kk_cn have a trailing whitespace:

  • thumbnail_invalid_params

kk_kz:

1 messages of 1630 are not translated to kk_kz, but exist in en:

  • resetpass_text

1 messages of 1640 are not exist in en (or are in the ignored list), but still e
xist in kk_kz:

  • widthheight

1 messages of 1640 in kk_kz have a trailing whitespace:

  • thumbnail_invalid_params

kk_tr:

1 messages of 1630 are not translated to kk_tr, but exist in en:

  • resetpass_text

1 messages of 1640 are not exist in en (or are in the ignored list), but still e
xist in kk_tr:

  • widthheight

1 messages of 1640 in kk_tr have a trailing whitespace:

  • thumbnail_invalid_params

alefzet wrote:

putch for trunk (MediaWiki)

Removing trailing spaces, dealing with arabic punctuation

attachment kk.diff ignored as obsolete

alefzet wrote:

(In reply to comment #51)

1 messages of 1630 are not translated to kk_kz, but exist in en:

  • resetpass_text

This is empty commented out string and shouldn't translate.

1 messages of 1640 are not exist in en (or are in the ignored list), but still
exist in kk_kz:

  • widthheight

Traditionally in Russian (and Kazakh) typography the operators or dimension
symbols should spaced from values (numbers).

1 messages of 1640 in kk_kz have a trailing whitespace:

  • thumbnail_invalid_params

Fixed.

Any way thanks for Your suggestions!

alefzet wrote:

Raimond, why You reverted the code in LanguageKk.php?:
...
'?' => '\xD8\x9F', # ؟
'%' => '\xD9\xAA', # ٪
',' => '\xD8\x8C', # ،
';' => '\xD8\x9B', # ؛

to:

'?' => '؟',
'%' => '٪',
',' => '،',
';' => '؛'

The last doesn't work as intended

See before confersion: http://kk.wikipedia.org/wiki/%D2%9A%D0%B0%D1%82%D1%8B%D1%
81%D1%83%D1%88%D1%8B:AlefZet/%D2%9A%D2%B1%D0%BC%D0%B6%D3%99%D1%88%D1%96%D0%
BA#Punctuation_conversion.3F
and see after conversion: http://kk.wikipedia.org/w/index.php?title=%D2%9A%D0%
B0%D1%82%D1%8B%D1%81%D1%83%D1%88%D1%8B:AlefZet/%D2%9A%D2%B1%D0%BC%D0%B6%D3%99%
D1%88%D1%96%D0%BA&variant=kk-cn#Punctuation_conversion.3F

Punctuation isn't converted to Arabic as intended

alefzet wrote:

putch for trunk (MediaWiki)

Updates for messages and fixes for class

attachment kk.diff ignored as obsolete

alefzet wrote:

putch for trunk (MediaWiki)

Messages updates abd fixes. Introduced civil yyyy-mm-dd date format.

attachment kk.diff ignored as obsolete

alefzet wrote:

putch for trunk (MediaWiki)

Typos

attachment kk.diff ignored as obsolete

alefzet wrote:

putch for trunk (MediaWiki)

Standardized Oversight terminology

attachment kk.diff ignored as obsolete

alefzet wrote:

putch for trunk (MediaWiki)

+ colons

attachment kk.diff ignored as obsolete

alefzet wrote:

putch for trunk (MediaWiki)

Synchronizing with English version

attachment kk.diff ignored as obsolete

alefzet wrote:

putch for trunk (MediaWiki)

Updates and RTL fixes

attachment kk.diff ignored as obsolete

Applied with r22269. 1 syntax error fixed in kk_cn.

alefzet wrote:

putch for trunk (MediaWiki)

Updates

attachment mediawiki.diff ignored as obsolete

Applied with r22510.

For your information:

1 messages of 1641 are not translated to kk_cn/kz/tr, but exist in en:

  • resetpass_text

alefzet wrote:

(In reply to comment #70)

1 messages of 1641 are not translated to kk_cn/kz/tr, but exist in en:

  • resetpass_text

Appears this key is empty and should be in ignored list:
'resetpass_text' => "<!-- Add text here -->",

(In reply to comment #71)

Appears this key is empty and should be in ignored list:
'resetpass_text' => "<!-- Add text here -->",

Yes, thanks. I have added this message with r22536 to the optional list.

alefzet wrote:

putch for trunk (MediaWiki)

Updates

attachment mediawiki.diff ignored as obsolete

alefzet wrote:

putch for trunk (MediaWiki)

  • Updates
  • Rebuild messages
  • Unix-like line endings

attachment mediawiki.diff ignored as obsolete

alefzet wrote:

putch for trunk (MediaWiki)

Latest updates

attachment mediawiki.diff ignored as obsolete

alefzet wrote:

putch for trunk (MediaWiki)

+ DEFAULTSORT etc

attachment mediawiki.diff ignored as obsolete

alefzet wrote:

putch for trunk (MediaWiki)

Latest updates

attachment mediawiki.diff ignored as obsolete

alefzet wrote:

putch for trunk (MediaWiki)

New translations

attachment mediawiki.diff ignored as obsolete

alefzet wrote:

putch for trunk (MediaWiki)

+ all-logs-page

attachment mediawiki.diff ignored as obsolete

alefzet wrote:

putch for trunk (MediaWiki)

Updates and fixes

attachment mediawiki.diff ignored as obsolete

alefzet wrote:

putch for trunk (MediaWiki)

Updates and fix
Please do not remove the 'unit-pixel' => ' px', (mesuring units should be separated with non-breaking space by applicable standards).

Attached:

robchur wrote:

Applied in r23286. Please open a fresh bug for the next batch of patches.

alefzet wrote:

(In reply to comment #88)

Applied in r23286. Please open a fresh bug for the next batch of patches.

Bug 10367 is opened for further updates.