You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.
Some languages don't work with the current SVO word ordering used by the generate_phrase function. The function should take another optional argument from wordlist that makes it use a different word ordering.
The way I can see this working is to add a format string to the translations dictionary that determines the order in which the words will be joined.
However, I don't see the pressing need for this change as your sentence at this point is rather simple. In Japanese (the only non-SVO language I personally know), a possible sentence will be "[ Space ] [ は ] [ (営業中|休み中)。 ] [ Extra stuff ]". While there are nuances in exactly which part of the sentence does what, the structure is still pretty similar.
@randName true, most languages actually use the same ordering but there might be other problems like RTL instead of LTR composition, which would make the format string a valuable addition.
Some languages don't work with the current SVO word ordering used by the generate_phrase function. The function should take another optional argument from
wordlist
that makes it use a different word ordering.twitterstatus/twitterstatus.py
Lines 40 to 55 in b423638
The text was updated successfully, but these errors were encountered: