Last modified: 2007-03-02 18:57:58 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 5595 - Bosnian language (bs)
Bosnian language (bs)
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-16 11:12 UTC by Dijan
Modified: 2007-03-02 18:57 UTC (History)
1 user (show)

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


Attachments
LanguageBs.php translated file (10.26 KB, application/octet-stream)
2006-04-16 11:14 UTC, Dijan
Details
MessagesBs.php (58.27 KB, application/octet-stream)
2006-04-16 11:15 UTC, Dijan
Details
corrected MessagesBs.php file (62.85 KB, application/octet-stream)
2006-04-16 21:47 UTC, Dijan
Details
latest correction of MessagesBs.php (62.84 KB, application/octet-stream)
2006-04-16 21:58 UTC, Dijan
Details
updated MessagesBs.php (62.86 KB, application/octet-stream)
2006-04-16 23:53 UTC, Dijan
Details
Corrected LanguageBs.php (11.47 KB, application/octet-stream)
2006-04-17 01:34 UTC, Dijan
Details
Corrected LanguageBs.php (11.45 KB, application/octet-stream)
2006-04-17 01:57 UTC, Dijan
Details
Corrected LanguageBs.php (11.47 KB, application/octet-stream)
2006-04-17 02:05 UTC, Dijan
Details
MessagesBs.php updated (62.89 KB, patch)
2006-04-19 02:41 UTC, Dijan
Details
updated file (62.89 KB, text/plain)
2006-04-19 02:42 UTC, Dijan
Details
updated file LanguageBs.php (11.02 KB, text/plain)
2006-04-19 02:43 UTC, Dijan
Details

Description Dijan 2006-04-16 11:12:47 UTC
I've translated some of the Language.php file (based it on English (en),
Croatian (hr) and Serbian (sr) files) and the Messages.php file.  No files for
this language existed so far, so I've decided to create them.  Can someone
please check these and tell me what else I need to do?  Thanks.
Comment 1 Dijan 2006-04-16 11:14:01 UTC
Created attachment 1542 [details]
LanguageBs.php translated file
Comment 2 Dijan 2006-04-16 11:15:25 UTC
Created attachment 1543 [details]
MessagesBs.php

Can somone please check these and make sure they're OK?  Thanks.
Comment 3 Dijan 2006-04-16 11:17:26 UTC
I have tried my best to follow the English example and I've also used the
Serbian and Croatian files as guides as well.  I've also closely followed
http://meta.wikimedia.org/wiki/MediaWiki_localization for directions on how to
do this.  If there are any mistakes or errors, please inform me and tell me how
I can be of service.
Comment 4 Niklas Laxström 2006-04-16 12:19:44 UTC
Grepping "Viki" show up many messages where it has to be replaced with general
namespace Portal, or with {{SITENAME}} if it is not used as namespace. Remember
that all messages must apply to any new wiki, so there is no place for site
specific modifications.

Also there was a syntax error near 'recentchangestext'.

And it would be great if you could check the translations against English ones.
Some messages like allmessagesnotsupportedUI and allmessagesnotsupportedDB have
been updated since they were first translated.

Looks good if you can fix the problems mentioned above.
Comment 5 Dijan 2006-04-16 21:45:55 UTC
So, the errors are only in the MessagesBs.php file?  The LanguageBs.php file is
good?  OK.  I have a question about the <nowiki>{{ns}}</nowiki> namespaces. 
Some of the lines in Serbian and Croatian files use these namespaces instead of
"Special" or "Wiktionary".  I've also added those to this file, but how do I
know that these will be appropriately used on Wiktionary and Wikipedia?  (For
example, on the Wiktionary, is <nowiki>{{ns:4}}</nowiki> going to say
''Wiktionary'' or ''Wikipedia''?  It should say Wiktionary, right?)  Should a
template be created for this?  I'll attach the updated file.
Comment 6 Dijan 2006-04-16 21:47:42 UTC
Created attachment 1547 [details]
corrected MessagesBs.php file

This is the corrected file.  Please check it again.  Thank you.
Comment 7 Dijan 2006-04-16 21:56:35 UTC
(In reply to comment #5)
> So, the errors are only in the MessagesBs.php file?  The LanguageBs.php file is
> good?  OK.  I have a question about the <nowiki>{{ns}}</nowiki> namespaces. 
> Some of the lines in Serbian and Croatian files use these namespaces instead of
> "Special" or "Wiktionary".  I've also added those to this file, but how do I
> know that these will be appropriately used on Wiktionary and Wikipedia?  (For
> example, on the Wiktionary, is <nowiki>{{ns:4}}</nowiki> going to say
> ''Wiktionary'' or ''Wikipedia''?  It should say Wiktionary, right?)  Should a
> template be created for this?  I'll attach the updated file.

About the {{ns}} namespace:  is that determined by the Language.php file?  (just
wondering if I've answered my own question just now)
Comment 8 Dijan 2006-04-16 21:58:25 UTC
Created attachment 1548 [details]
latest correction of MessagesBs.php

I made a small correction to the Messages.php file again.  Here is the updated
file.
Comment 9 Niklas Laxström 2006-04-16 22:30:33 UTC
{{ns:#}} is a magic keyword and the number refers to namespace index defined in
the LanguageXX.php. And if you don't like numbers you can just use the english
names (for number four it is 'project'), like {{ns:special}}, {{ns:user_talk}}
and {{ns:project}}.

Following entries should use {{SITENAME}}

'aboutsite' => 'O projektu {{ns:4}}',
'anonymous' => 'Anonimni korisnik od {{ns:4}}',
'categoriespagetext' => 'Sledeće kategorije već postoje u {{ns:4}}',
'confirmdeletetext' => '... [[{{ns:4}}:Pravila|pravilima]] {{ns:4}}.', (only the
last one)
'copyrightwarning' => 'Za sve priloge poslate {{ns:4}} smatramo da su objavljeni
pod GNU Slobodnom Dokumentacionom Dozvolom  (konsultujte $1 za detalje).
'lockdbsuccesstext' => '{{ns:4}} baza podataka je zaključana. <br /> Sjetite se
da je otključate kad završite sa održavanjem.',
*Morate imati odobrene \'\'kolačiće\'\' (\'\'\'cookies\'\'\') da bi ste
pristupili na projekat {{ns:4}}.
'sitetitle' => '{{ns:4}}',
'siteuser' => '{{ns:4}} korisnik $1',
'siteusers' => '{{ns:4}} korisnik (korisnici) $1',

Oh, and compare 'copyrightwarning' to the English:
'copyrightwarning' => 'Please note that all contributions to {{SITENAME}} are
considered to be released under the $2 (see $1 for details). If you don\'t want
your writing to be edited mercilessly and redistributed at will, then don\'t
submit it here.<br />
You are also promising us that you wrote this yourself, or copied it from a
public domain or similar free resource.
<strong>DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!</strong>',

It has second variable $2 too.

LanguageBs.php looks ok to me. And I haven't found any other immediate errors or
mistakes in MessagesBs.php
Comment 10 lɛʁi לערי ריינהארט 2006-04-16 22:41:59 UTC
(In reply to comment #9)
> ... And if you don't like numbers you can just use the english
> names (for number four it is 'project'), like {{ns:special}}, {{ns:user_talk}}
> and {{ns:project}}.

I assume this ({{ns:special}}, {{ns:user_talk}} and {{ns:project}}) would be
easier to read.
Comment 11 Dijan 2006-04-16 23:52:03 UTC
Thank you Niklas and Reinhardt.  I have made the mentioned changes to the
MessagesBs.php file.  When will the files be uploaded and ready for use?  Oh I
had one more question.  I've noticed that all the wikis that have these two
files also have a template called "wikivar" that lists what each {{ns}}
namespace is.  Do I need to create one like that?
Comment 12 Dijan 2006-04-16 23:53:08 UTC
Created attachment 1549 [details]
updated MessagesBs.php

Here is the corrected version.
Comment 13 lɛʁi לערי ריינהארט 2006-04-17 00:33:46 UTC
(In reply to comment #11)
> ... I've noticed that all the wikis that have these two
> files also have a template called "wikivar" that lists what each {{ns}}
> namespace is.  Do I need to create one like that?

I created [[bs:template:wikivar]] few minutes before your comments.
However it is not available at the sister projects [[bs:special:SiteMatrix#bs]].

I assume that the SITENAME should be 'Wikipedija'.

After Niklas posts LanguageBs.php and MessagesBs.php to SVN this bug will be closed.

----

You will need to open another request and let all know what SITENAMES should be
used for the sister projects.

Looking at [[bs:]] I can see in the first line:
"Dobrodošli na Wikipediju na bosanskom jeziku!"
This means that you might need to define a GRAMMAR function in LanguageBs.php .
Please compare with
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/LanguageSl.php?view=markup

I am neither shure If you would like to implement GRAMMAR later nor if the
actual LanguageBs.php contains GRAMMAR. The change could be done now or later.

best regards reinhardt [[user:gangleri]]
Comment 14 Dijan 2006-04-17 00:56:37 UTC
Yes, you created the template on the Wikipedia for Bosnian, and on that one
SITENAME should be Vikipedija (but the people that work on the Bosnian Wikipedia
prefer for some odd reason to have Wikipedija ...even though we don't have a "w"
in our language).

How can I define the SITENAMES?  Do I just create a new bug report and list
sitenames for wikipedia, wiktionary, etc?

Thank you all for your help.
Comment 15 lɛʁi לערי ריינהארט 2006-04-17 01:27:46 UTC
(In reply to comment #14)
> How can I define the SITENAMES?  Do I just create a new bug report and list
> sitenames for wikipedia, wiktionary, etc?

Yes. See examples at
http://bugzilla.wikimedia.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=SITENAME&order=Bug+Number
Comment 16 Dijan 2006-04-17 01:34:49 UTC
Created attachment 1551 [details]
Corrected LanguageBs.php

Here is the new LanguageBs.php file with recommendations that Reinhardt gave.
Comment 17 lɛʁi לערי ריינהארט 2006-04-17 01:44:31 UTC
Fantastic! On LanguagesSl.php I needed weeks to understand how it works.

A minor text but importanf php error:
                }
            case 'instrumental': # instrumental
...
                }
            break;
            break;

I hope the examples for the usage of {{GRAMMAR:}} from
[[q:sl:category:SITENAME]] are usefull to you.

best regards reinhardt [[user:gangleri]]
Comment 18 Dijan 2006-04-17 01:52:26 UTC
what is the error?  (I'm sorry...but it took me a while to understand the "sl"
version of it...even though the languages are somewhat similar.)

Please be specific about the error (tell me what to fix).  I'm sorry...but I've
spent about 7hrs straight last night translating this stuff not including a week
for earlier translations.  I can't wait to actually have this up and running.
Comment 19 Dijan 2006-04-17 01:56:13 UTC
you mean the double break?  I've fixed that...should upload the new file in a
min.  anything else?
Comment 20 Dijan 2006-04-17 01:57:00 UTC
Created attachment 1552 [details]
Corrected LanguageBs.php

corrected minor mistake
Comment 21 lɛʁi לערי ריינהארט 2006-04-17 01:59:49 UTC
(In reply to comment #17)
> A minor text but importanf php error:

                }
            case 'instrumental': # instrumental

There have been *two* errors: Sorry my fault! I have no UTF-8 compatible editor.
Comment 22 Dijan 2006-04-17 02:05:01 UTC
Created attachment 1553 [details]
Corrected LanguageBs.php

I'm not sure if I've fixed it...but please check.  (You don't have a compatible
editor?  I use Notepad.  I didn't know that it wasn't compatible...but
apparently it works.)
Comment 23 lɛʁi לערי ריינהארט 2006-04-17 02:14:02 UTC
OK for me now. Thanks for the hint about Notepad!
Comment 24 lɛʁi לערי ריינהארט 2006-04-17 03:11:20 UTC
Opened also
Bug 5612: Project names and sitenames for Bosnian projects
Comment 25 Dijan 2006-04-17 07:16:24 UTC
Thank you.
Comment 26 Niklas Laxström 2006-04-17 23:40:28 UTC
Committed to REL1_6 and HEAD. Thanks for the localisation.
Comment 27 Dijan 2006-04-19 02:38:43 UTC
Sorry to bother you again, but there were some errors in these files that needed
been fixed.  I have tried to fix this in these updates, but I'm not sure if it
will work 100%.  In these files I have removed the {{ns:}} numbering and
replaced it with regular namespaces; this does prevent the problem for now, but
wikis that use {{ns:}} in Bosnian language will still have those problems
because {{ns:4}} displays in English and {{ns:5}} is not functioning correctly
(It displays as "Razgovor_o_s_Wikipedia" on Wikipedia, while it should display
as "Razgovor:Vikipedija" or as "Razgovor_o_Vikipediji").  How can this be fixed?
Comment 28 Dijan 2006-04-19 02:41:09 UTC
Created attachment 1577 [details]
MessagesBs.php updated

Here is the updated MessagesBs.php file.
Comment 29 Dijan 2006-04-19 02:42:51 UTC
Created attachment 1578 [details]
updated file
Comment 30 Dijan 2006-04-19 02:43:45 UTC
Created attachment 1579 [details]
updated file LanguageBs.php
Comment 31 Dado 2006-04-22 21:26:50 UTC
Could someone update file LanguageBs.php with following parameters

    WIKIPEDIA - Wikipedia
    WIKIPEDIA_TALK - Wikipedia razgovor
    MEDIAWIKI - MediaWiki
    MEDIAWIKI_TALK - MediaWiki razgovor
    
I think that "Wikipedia talk" name modification may not be in that  file but I
cannot figure out where to make that change.

Thanks
Comment 32 Rob Church 2006-04-23 00:53:47 UTC
(In reply to comment #31)
> Could someone update file LanguageBs.php with following parameters

Those would be inconsistent with the format of the other entries, e.g.
"Razgovor_sa_korisnikom" and "Razgovor_o_pomoci".

Comment 33 Dado 2006-04-23 17:03:43 UTC
"Razgovor_sa_korisnikom" and "Razgovor_o_pomoci" are direct translation of the
function.  MediaWiki and Wikipedia are names being used untranslated so the
format needs to be a bit different gramatically.  We have discussed this at
Bosnian Wiki.  See
http://bs.wikipedia.org/wiki/Korisnik:Emir_Kotromani%C4%87/Radionica#Prijedlozi_za_imena_varijabli

Thanks
Dado
Comment 34 Jimmy Collins 2006-10-02 12:58:09 UTC
(In reply to comment #30)
> Created an attachment (id=1579) [edit]
> updated file LanguageBs.php

Can you please post the file (unified patch is preferred) in the new format? You
can find the latest one here:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/MessagesBs.php

Thanks!
Comment 35 Niklas Laxström 2007-03-02 18:57:58 UTC
No patches, dead bug.

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


Navigation
Links