JanZerebecki added a comment.
Part of this was discussed at:
https://github.com/wmde/WikibaseDataModel/pull/272#discussion_r19963343
TASK DETAIL
https://phabricator.wikimedia.org/T73512
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign
.
To
JanZerebecki added a comment.
Part of this was discussed at:
https://github.com/wmde/WikibaseDataModel/pull/272#discussion_r19963343
TASK DETAIL
https://phabricator.wikimedia.org/T73512
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign
.
To
JanZerebecki added a comment.
Do we try to transliterate for each fall back language in the chains if that
language is not present?
Do we for the possible sources of a thusly requested tranliteration try do
language fall back? Probably not.
Do we recursively tranliterate? Probably not.
Find out
JanZerebecki added a comment.
Do we try to transliterate for each fall back language in the chains if that
language is not present?
Do we for the possible sources of a thusly requested tranliteration try do
language fall back? Probably not.
Do we recursively tranliterate? Probably not.
Find out
daniel added a comment.
@jan: a good entry point is probably
LanguageFallbackChain::extractPreferredValue()
TASK DETAIL
https://phabricator.wikimedia.org/T73512
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign
.
To: daniel
Cc: JanZerebecki
JanZerebecki added a comment.
Consider using LanguageFallbackChain as is instead of proposed
AcceptLanguageSet and Tranliterator.
TASK DETAIL
https://phabricator.wikimedia.org/T73512
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign
.
To: J
daniel added a comment.
I suggest an EntityLocalizer service as follows:
```
interface EntityLocalizer {
/**
** @return Entity
**/
public function localizeEntity( Entity $e, LanguageFallbackChain $chain );
}
```
TASK DETAIL
https://phabricator.wikimedia.org/T73512
REPLY HAND
JanZerebecki added a comment.
That interface and its implementation would reside in WikibaseRepo.
TASK DETAIL
https://phabricator.wikimedia.org/T73512
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign
.
To: JanZerebecki
Cc: JanZerebecki, dan