digitalbazaar / digitalbazaar/vc-html-render-method

Add options to set/override i18n properties

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

It should be possible to ask for a renderer with custom language settings, such that, e.g., when the html render template runs, if it reads navigator.language, it will get the custom value provided.

When adding the ability to set an option/feature like this, it should be done in a general way such that it is extensible for other options/features of interest too.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the renderer entry point and trace how the HTML render template runs inside the nested, sandboxed iframe. Identify where renderer options are accepted and how browser language properties are exposed. Done means a supplied language value is visible as navigator.language and the option mechanism can be extended for other settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, internationalization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.