Well, what did you think the 'convertToOSIS' method would do to a VerseKey? :)
Not sure the binding language you're using's syntax, but try something like $scope->getRangeText(); Peter von Kaehne <ref...@gmx.net> wrote: >What I want is to take an OSIS ref - say Matt.1.1 - and create a long >reference in a target language other than English - say > ><reference osisRef="Matt.1.1">متا 1:1</reference> > >What I am doing is: > >Sword::LocaleMgr::getSystemLocaleMgr()->setDefaultLocaleName("fa"); >my $scope= new Sword::VerseKey; >$scope->setText("Matt.1.1"); > >print Sword::VerseKey::convertToOSIS("Matt.1.1", $scope); > >What I get currently is: > ><reference osisRef="Matt.1.1">Matt.1.1</reference> > >What am I doing wrong? > >Thanks! > >Peter > > >_______________________________________________ >sword-devel mailing list: sword-devel@crosswire.org >http://www.crosswire.org/mailman/listinfo/sword-devel >Instructions to unsubscribe/change your settings at above page -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. _______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page