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

Reply via email to