Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support xml:lang fields #218

Open
lnjX opened this issue Oct 15, 2019 · 0 comments
Open

Support xml:lang fields #218

lnjX opened this issue Oct 15, 2019 · 0 comments

Comments

@lnjX
Copy link
Member

lnjX commented Oct 15, 2019

E.g. error texts and message bodies should be parsed and accessible in all provided languages.


class QXmppMultiString : public QMap<QLatin1String, QString>
{
    void parse(QDomElement parent, QString elementName, QString xmlns = {});
    void toXml(QXmlStreamWriter *writer, QString elementName, QString xmlns = {});
}

We don't need unicode for the locales, so QLatin1String would be enough here. On the other hand QLocale returns QStrings ...

@lnjX lnjX self-assigned this Oct 15, 2019
@lnjX lnjX removed their assignment Sep 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant