diff options
Diffstat (limited to 'design-documents/003-tos-rendering.rst')
-rw-r--r-- | design-documents/003-tos-rendering.rst | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/design-documents/003-tos-rendering.rst b/design-documents/003-tos-rendering.rst index 3011775c..18f9027b 100644 --- a/design-documents/003-tos-rendering.rst +++ b/design-documents/003-tos-rendering.rst @@ -1,5 +1,5 @@ -Design Doc 003: ToS rendering -############################# +DD 03: ToS rendering +#################### Summary ======= @@ -22,6 +22,24 @@ way. Proposed Solution ================= +Internationalization +-------------------- + +The server will parse the ``Accept-Languages`` request header to determine +which language the user will most likely want to read the terms of service +in. If multiple languages are given, the server will check against the +available languages and return the one with the highest preference. + +Additionally, the server will return an ``Avail-Languages`` header which +details what other langauges the terms of service are available in. The +user interface in the wallet should then allow the user to switch to one +of these alternatives using some language switcher. + + +Encoding +-------- + + The service providers can output legal agreements in various formats, determined via the ``"Accept: "`` request header. The format provider **must** support the ``text/plain`` mime type. The format provider **must** support |