question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

What's the correct data structure of the translation of class?

See original GitHub issue

I’m trying to translate the p5.Vector into Chinese. But it seem that there isn’t any translated class before. There are a lot of Fields and Methods below, where should I put these items?

By the way, I can not compile the website correctly. When I use npm i, it threw so many error . I don’t know what just happened.

But I think it’s not matter. I just do some translation.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
limzykennethcommented, Apr 27, 2020

@Drafffffff When running npm i is the terminal in p5.js-website folder? Can you also try removing the existing node_modules folder then running the install again?

If I want to translate p5.Vector which structure is right?

I guess the second one but without some modification to the reference translation JS code it probably won’t work out of the box.

0reactions
Drafffffffcommented, Apr 27, 2020

@Drafffffff When running npm i is the terminal in p5.js-website folder? Can you also try removing the existing node_modules folder then running the install again?

If I want to translate p5.Vector which structure is right?

I guess the second one but without some modification to the reference translation JS code it probably won’t work out of the box.

I can’t build the website so I don’t know if it’s working.😅

Read more comments on GitHub >

github_iconTop Results From Across the Web

Java - data structure for storing and getting translations (as ...
How can I achieve a good data structure for storing translations of an object? Note that these translations are not translations of the...
Read more >
What are Data Structures? - Definition from WhatIs.com
A data structure is a specialized format for organizing, processing, retrieving and storing data. There are several basic and advanced types of data ......
Read more >
Object-Oriented Translation for Programmable Relational ...
Classes are specified and implemented and objects are created. Data structure created by these command is shown. Data access operations. (inc. queries) are ......
Read more >
Translation of objects in computer graphics - GeeksforGeeks
In computer graphics, transformation of the coordinates consists of three major processes: Translation; Rotation; Scaling. In this post we will ...
Read more >
Translator Pattern - Wiki
A one to one correspondence between the elements of the original structure and elements in the resulting structure need not be maintained, but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found