WISHLIST stromyfacts language redirect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu IRC Bots |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
<pangolin> just had a thought, would it be possible to have ubottu use the language of the factoid when using >? example !es > user and ubottu would tell the user to check PM in Spanish
<m4v> pangolin: mmh, is a good idea, but I'm not sure how to implement it...
<m4v> stormyfacts says "check PM" in spanish when in #ubuntu-es, but is a channel specific setting, you don't set different locales for a specific factoid.
<pangolin> I have no idea either but I assume when > is used check if !loco is a $language factoid
<pangolin> if so use !loco_translated
<m4v> the "check PM" reply isn't a factoid, but a string that is translated by gettext
<pangolin> I'm not a coder. I just have good ideas sometimes :)
<m4v> and how do you tell the plugin that "es" is a language factoid? we can't assume that anything that match a ISO-country-
<m4v> pangolin: so far, I think it would be a bit hacky for make it true :P
<pangolin> no idea how to do it
<m4v> one thing I can do, which would be relative simple, is add a --lang option, so you can "!es > nick --lang es" and use the es locale, more work for the one calling the factoid, but it could be done.
<pangolin> hmm not sure that would be good and would probably cause more confusion for both users
<m4v> pangolin: well, make it a wishlist, I'll probably try to think it more once the plugin is deployed.
Changed in ubuntu-bots: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
tags: | added: stormyfacts |