Last modified: 2007-04-13 13:38:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 6113 - Adding Language Variants to Belarusian
Adding Language Variants to Belarusian
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.8.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-05-27 18:49 UTC by Eugene Zelenko
Modified: 2007-04-13 13:38 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Try to implement namespace aliases (15.41 KB, text/plain)
2006-06-16 03:27 UTC, Eugene Zelenko
Details
Official spelling variant of MessagesBe.php (version 15879) (56.97 KB, text/plain)
2006-07-30 20:19 UTC, Eugene Zelenko
Details
Official spelling variant of MessagesBe.php (version 15955) Should be placed into SVN with name MessagesBe_of.php. (56.94 KB, text/plain)
2006-08-05 14:14 UTC, Eugene Zelenko
Details
Official spelling variant of LanguageBe.php (version 15823) Should be placed into SVN with name LanguageBe_of.php. (2.82 KB, text/plain)
2006-08-05 14:17 UTC, Eugene Zelenko
Details

Description Eugene Zelenko 2006-05-27 18:49:55 UTC
We need to add option for switching between variants of Belarusian spellings
(official and classic) into user preferences. Current translations are on
classic spelling, so it should be default for compatibility.

This option could affect namespaces, system messages and project name
($wgMetaNamespace and SITENAME), quickbar settings, skin names.

There is no trivial algorithm for converting official spelling to classic and
back, so automatic conversion should not be implemented. System messages will be
located in different files.

I see only one trivial task: to add aliases magic words on official spelling.

This is only problem definition; solution will require more communication and
discussions.

Thank you for help.
Comment 1 Eugene Zelenko 2006-06-16 03:27:56 UTC
Created attachment 1964 [details]
Try to implement namespace aliases

I tried to implement namespace aliases (based on LanguageSk.php. I also added
variants for QuickbarSettings and SkinNames.
Comment 2 Eugene Zelenko 2006-07-30 20:19:05 UTC
Created attachment 2177 [details]
Official spelling variant of MessagesBe.php (version 15879)

Complement text in Names.php:

'be-of' => 'афіцыйны правапіс',    # Belarusian. Official
spelling

Complement text in Names.php:

If language variant names could be more then 2 characters long, will be good
idea to replace of with official.

Fake converter still need to be implemented for allowing choosing variants.
Comment 3 Eugene Zelenko 2006-08-05 14:14:04 UTC
Created attachment 2199 [details]
Official spelling variant of MessagesBe.php (version 15955)

Should be placed into SVN with name MessagesBe_of.php.
Comment 4 Eugene Zelenko 2006-08-05 14:17:55 UTC
Created attachment 2200 [details]
Official spelling variant of LanguageBe.php (version 15823)

Should be placed into SVN with name LanguageBe_of.php.
Comment 5 Jimmy Collins 2006-09-30 20:18:48 UTC
Applied to r16711.
Comment 6 Eugene Zelenko 2006-09-30 21:16:04 UTC
Please revert latest SVN changes in LanguageBe.php and MessageBe.php.

Whole point of this patch was to introduce 2 different messages file. At least
now namespaces will be broken on BE:WP.

Please communicate with me to discuss implementation.

Thank you.
Comment 7 Jimmy Collins 2006-09-30 21:29:02 UTC
Done in r16712.
Comment 8 Eugene Zelenko 2006-09-30 21:35:52 UTC
Comment on attachment 2199 [details]
Official spelling variant of MessagesBe.php (version 15955)

Should be placed into SVN with name MessagesBe_of.php.

Should be named MessagesBe_of.php
Comment 9 Raimond Spekking 2007-04-13 07:33:07 UTC
After splitting the belarussian Wikipedia into be and be-x-old we have
MessagesBe.php and MessagesBe_x_old.php (see r20950, r20951 and r21223) now. 

I assume we need a reworking of LanguageBe.php too. To be consistent I have
duplicated LanguageBe_x_old.php to LanguageBe.php (r21224). If necessary please
provide a patch to correct possible errors in this. Thank you.
Comment 10 Eugene Zelenko 2007-04-13 13:38:10 UTC
Should be fine. Thank you.

I'll close this bug report.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links