rdfio/RDFIO

Support for other wiki languages than English

Closed this issue · 4 comments

We have some stupid hard-coded strings which might be different for different languages.

See this screenshot of code climate for hints on where to fix it:

selection_296

Looking into it.

Do @mwjames or @kghbln have some input on the most idiomatic way to access i18ed NSes?

I found something about the SMW_NS_PROPERTY constant ... but still looking for the best way to access the i18n version ...

I think I know the solution now:

$titleWithNS = Title::makeTitleSafe( SMW_NS_PROPERTY, $theTitle )->getFullText();

... etc.

(EDIT: getTitleValue()getFullText())

The changes are now implemented, as of cca71be and fcd2823 . Now just need to test this with another language somehow.

This is now tested manually, so closing (a CI would still be great).