Giter VIP home page Giter VIP logo

ja-maplibre-gl-js's Introduction

ja-maplibre-gl-js

日本語ドキュメンテーション用翻訳用のソースです。

Geolonia Javascript API ドキュメントの翻訳ソースとして使用しています。
https://geolonia.github.io/ja-maplibre-gl-js-docs/api/

翻訳手順

翻訳する手順は、セクション毎に異なります。以下の手順に沿って翻訳して下さい。

API リファレンス

https://geolonia.github.io/ja-maplibre-gl-js-docs/api/

手順

  1. 翻訳ファイルは、src/ 以下にありますので、エディタで翻訳する文章を検索して下さい。
  2. 以下の様に英文を // でコメントアウトし、下に日本語を書きます。(/** ... */ にコメントアウトすると、表示されてしまうので、上部に原文をまとめています)
 // * @param {number} [options.maxZoom=22] The maximum zoom level of the map (0-24).
 * @param {number} [options.maxZoom=22] 地図の最大表示倍率(0〜24)。

プラグイン

https://geolonia.github.io/ja-maplibre-gl-js-docs/plugins/

手順

  1. ja-maplibre-gl-js-docsの pluguins.json を編集して下さい。(https://github.com/geolonia/ja-maplibre-gl-js-docs/blob/main/docs/data/plugins.json)
  2. 翻訳する行はコピーして翻訳し、原文は、_description の様にアンダーバーを付けて残しておいて下さい。
"mapbox-gl-accessibility": {
  "website": "https://github.com/mapbox/mapbox-gl-accessibility/",
  "_description": "Integrates with ARIA-compatible screen readers for users with visual impairments.",
  "description": "視覚障がい者向けARIA対応スクリーンリーダーとの連携。"
},

スタイル仕様

https://geolonia.github.io/ja-maplibre-gl-js-docs/style-spec/

手順

  1. v8.json (https://github.com/geolonia/ja-maplibre-gl-js/blob/main/src/style-spec/reference/v8.json) を編集して下さい。
  2. 翻訳する行はコピーして翻訳し、原文は、_doc の様にアンダーバーを付けて残しておいて下さい。
"name": {
  "type": "string",
  "_doc": "A human-readable name for the style.",
  "doc": "人間にとって読みやすいスタイルの名前",
  ...
},

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.