Skip to content

Feature of Word exception for translation  #15

Description

@jacobkim9881

It's todo list for adding word exception feature. Reference post is #14 .

Todo: Code method to find word for exception and replace it with any symbol.

Example: from

let val = `this is test exceptThis.`

with regex replace, to

let exceptWordStr = `this is test $#$#.` // <any symbol like $#, %^>

Todos

  1. Fork word-ex branch.
  2. Go to line 57 at ./src/utils.js.
  3. Add variables
  • arr for adding words to except
  • regex for marking exception
  • result string

Todo: Check value has symbols to replace

Todos

  1. Console value at line 222 in ./src/utils.js.
  2. Check if the value has symbols.
  • Example: this is test $#$#.
  • These symbols will replaced with except words.

Todo: Replace symbols to except words

It should be after line 222. The result example would be like from,

result = `das ist test $#$#.` // <any symbol like $#, %^>

to

result = `das ist test exceptThis.`

Todos

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions