Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #267

translated python 3 (into bulgarian or else)

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <az@svilendobrev.com>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.034
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'else:': 0.03; 'elif': 0.04; 'plenty': 0.04; 'builtins': 0.07; 'whatever.': 0.07; 'python': 0.08; 'only,': 0.09; 'subject:python': 0.12; '8bit%:71': 0.16; 'name):': 0.16; 'name]': 0.16; 'operators,': 0.16; 'url:sf': 0.16; 'def': 0.16; 'language,': 0.17; 'language': 0.20; 'replacing': 0.23; 'translated': 0.23; 'alternatives': 0.29; 'skip:( 20': 0.30; 'class': 0.31; 'error': 0.31; 'instead': 0.34; 'e.g.': 0.34; 'skip:# 10': 0.34; 'couple': 0.34; 'things': 0.34; '8bit%:80': 0.35; 'skip:@ 10': 0.35; 'to:addr:python-announce- list': 0.37; 'some': 0.37; 'but': 0.37; 'another': 0.38; 'think': 0.38; 'header:Mime-Version:1': 0.39; 'to:addr:python.org': 0.39; 'needed.': 0.40; 'url:net': 0.61; '8bit%:92': 0.61; 'here': 0.66; 'hands': 0.67; '8bit%:90': 0.67; '8bit%:94': 0.69; '8bit%:95': 0.69; '8bit%:100': 0.70; 'skip:\xd0 20': 0.73; 'progress,': 0.84; 'received:bg': 0.84; 'stuff:': 0.84; 'suffer': 0.84; 'skip:\xd1 20': 0.91; 'kids,': 0.93; '\xd0\xbd\xd0\xb0': 0.93
Date Sat, 30 Jul 2011 13:19:13 +0300
From svilen <az@svilendobrev.com>
To python-announce-list@python.org
Subject translated python 3 (into bulgarian or else)
X-Mailer Claws Mail 3.7.8 (GTK+ 2.24.4; i686-pc-linux-gnu)
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-Mailman-Approved-At Sat, 30 Jul 2011 17:00:59 +0200
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.12
Precedence list
Reply-To python-list@python.org
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Approved python-announce-list@python.org
Newsgroups comp.lang.python.announce
Message-ID <mailman.1661.1312038059.1164.python-announce-list@python.org> (permalink)
Lines 53
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1312038059 news.xs4all.nl 23906 [2001:888:2000:d::a6]:48923
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python.announce:267

Show key headers only | View raw


g'day

Here an attempt of translated Python 3: replacing the english words
( operators, names and messages - if,else,for,..) with another language
- e.g. bulgarian (ако,иначе,за). For kids, and people who want to think
and write in their own language, instead of suffer with the
alternatives - near-"english", transliteration into latin, mixed
latin-cyrilic, whatever. 

клас Филминфо( Инфо):      #изцяло преведено / fully translated
    @класметод
    деф сглоби_име( кл, име ):
        имена = [ име ]
        ако   име.завършва('.bg'): имена.допълни( име[:-3])
        инако име.завършва('.ru'): имена.допълни( име[:-3])
        иначе: имена.допълни( име)
        върни Инфо.сглоби_име( *имена)

class Filminfo( Info):     #изцяло на английски / fully in english
    @classmethod
    def make_name( kl, name):
        names = [ name]
        if name.endswith('.bg'): names.append( ime[:-3])
        elif name.endswith('.ru'): names.append( име[:-3])
        else: names.append( ime)
        return Info.make_name( *names)
    
it's work in progress, so far in bulgarian only, but it's a couple of dictionaries. 
Plenty of things to do like translating error messages, some builtins
and some types' methods... hands are always needed.

http://smok.sf.net/

other my software- and language- related stuff: 
http://www.svilendobrev.com/rabota/mysoft.html
http://www.svilendobrev.com/rabota/

have fun
svilen

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

translated python 3 (into bulgarian or else) svilen <az@svilendobrev.com> - 2011-07-30 13:19 +0300

csiph-web