sylae / ligrev

XMPP MUC Utility bot
GNU General Public License v3.0
2 stars 1 forks source link

i18n and Unicode support #4

Open sylae opened 10 years ago

sylae commented 10 years ago

At the current time this is not too much of a concern for me, but it's something to be aware of during the coding process.

sylae commented 10 years ago

Does xmpp send associate languages with IDs? If so, its be nifty to respond to specific user stuff in their language. If not, we should set a global default and room-specific language.

I'm not too familiar with i18n. Will need to do more research. Assuming its a bit more than an array of strings. Also, RTL?

cburschka commented 10 years ago

XMPP uses the xml:lang attribute. You might examine the stream to see if cadence, pidgin et al are using that.

And yeah, i18n is basically an array of format strings that get passed through something like printf to insert variables.

There's some more complex grammar stuff like plurals. This is only an issue with big and widely translated projects though.

-csb On Mar 12, 2014 6:34 PM, "Sylae Corell" notifications@github.com wrote:

Does xmpp send associate languages with IDs? If so, its be nifty to respond to specific user stuff in their language. If not, we should set a global default and room-specific language.

I'm not too familiar with i18n. Will need to do more research. Assuming its a bit more than an array of strings. Also, RTL?

Reply to this email directly or view it on GitHubhttps://github.com/sylae/ligrev/issues/4#issuecomment-37438669 .

sylae commented 8 years ago

I'm going to spin this off into sub-issues to make things more organised.