Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
D
Django LDP
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 20
    • Issues 20
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 5
    • Merge Requests 5
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Packages
    • Packages
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Startin blox
  • djangoldp-packages
  • Django LDP
  • Issues
  • #203

Closed
Open
Opened Jan 17, 2020 by Calum Mackervoy@calummackervoy
  • Report abuse
Report abuse

Support internationalization

Related: startinblox/framework/sib-core#548

Proposed design is as follows:

  • Applications which use DjangoLDP (e.g. DjangoLDP-Circle) provide their own translations on models. DjangoLDP's role is to offer serialization into multiple languages following the JSONLD spec
  • Offer support for django-modeltranslation-translated fields in the serializers, via an argument which enables behaviour serializing models into multiple language values. This behaviour would be defined within a TranslationMixin

Side-note:

  • Providing it as a setting on the serializer is a good idea in my opinion. For example my site might want values in multiple languages on the landing page, but once I have selected one I want to spare the bandwidth, and only return the activated language
Edited Jan 23, 2020 by Calum Mackervoy
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
2
Labels
P1 need spec
Assign labels
  • View project labels
Reference: startinblox/djangoldp-packages/djangoldp#203