Closed yiouyou closed 2 years ago
Hi! A place to start would be translations.rdf
which contains most of the strings in the UI. But I'm afraid not all, those would have to be found and replaced.
Then in addition to english labels like <rdfs:label xml:lang="en-US">Search</rdfs:label>
, you could add labels in other language, for example <rdfs:label xml:lang="zh">搜索</rdfs:label>
or something like that. Try to choose the right language code.
@yiouyou can you do that?
And then we need a switch that would use the right labels based on the browser's locale. The Accept-Language
request can be used for that. I can take care of this part.
@namedgraph Yes, I can do the translation. Sorry for the dalay reply. I'll try to start from translations.rdf and see what I can do about it.
@yiouyou great! I'd be curious to hear about your use case :) You can contact me at martynas[at]atomgraph.com
@namedgraph Sure, will keep in touch. btw, the project is about pure RDF Knowledge Graph only or can it be run on some more sophisticated engines, such as Grakn?
It's only for RDF KG.
@yiouyou are you still up for the translation? :)
@yiouyou there's now an example with a Spanish translation. If you want to add another language, you can create a PR. https://github.com/AtomGraph/LinkedDataHub/blob/master/src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/translations.rdf
Beyond english, any productive way to turn the UI interface to other language? Thanks!