Last modified: 2007-04-13 13:38:50 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.
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.
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.
Created attachment 2199 [details] Official spelling variant of MessagesBe.php (version 15955) Should be placed into SVN with name MessagesBe_of.php.
Created attachment 2200 [details] Official spelling variant of LanguageBe.php (version 15823) Should be placed into SVN with name LanguageBe_of.php.
Applied to r16711.
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.
Done in r16712.
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
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.
Should be fine. Thank you. I'll close this bug report.