senk8 commited on
Commit
0eabd7a
·
1 Parent(s): 8593ca0

[UPD] User can choose a desired language.

Browse files
docs/index.rst CHANGED
@@ -1,9 +1,13 @@
 
1
  Welcome to deep_translator's documentation!
2
  ======================================
3
 
 
 
4
  .. toctree::
5
  :maxdepth: 2
6
  :caption: Contents:
 
7
 
8
  readme
9
  installation
@@ -12,7 +16,13 @@ Welcome to deep_translator's documentation!
12
  contributing
13
  authors
14
  history
 
 
 
 
15
 
 
 
16
  Indices and tables
17
  ==================
18
  * :ref:`genindex`
 
1
+
2
  Welcome to deep_translator's documentation!
3
  ======================================
4
 
5
+ If you see this doc in other languages,you can see :doc:`Choose languages</other_lang>`.
6
+
7
  .. toctree::
8
  :maxdepth: 2
9
  :caption: Contents:
10
+ :name: mastertoc
11
 
12
  readme
13
  installation
 
16
  contributing
17
  authors
18
  history
19
+ other_lang
20
+
21
+ .. toctree::
22
+ :hidden:
23
 
24
+ ja/index
25
+
26
  Indices and tables
27
  ==================
28
  * :ref:`genindex`
docs/ja/README.rst CHANGED
@@ -292,13 +292,14 @@ sourceに"auto"を渡すことでmymemoryの自動言語検出を使用できま
292
  ========
293
 
294
  deep_translatorの使用目的やpythonで翻訳をする方法を確認するために以下のmediumの記事を確認してください。
 
295
  https://medium.com/@nidhalbacc/how-to-translate-text-with-python-9d203139dcf5
296
 
297
  ===========================
298
  スマートフォンアプリ Translator++
299
  ===========================
300
 
301
- .. image:: assets/app-icon.png
302
  :width: 100
303
  :alt: Icon of the app
304
 
@@ -319,22 +320,22 @@ Translator++はdeep_translatorパッケージがベースになっています
319
 
320
  - スマートフォン :
321
 
322
- .. image:: assets/translator1.jpg
323
  :width: 30%
324
  :height: 200
325
  :alt: screenshot1
326
- .. image:: assets/translator2.jpg
327
  :width: 30%
328
  :height: 200
329
  :alt: screenshot2
330
- .. image:: assets/spinner.jpg
331
  :width: 30%
332
  :height: 200
333
  :alt: spinner
334
 
335
  - タブレット:
336
 
337
- .. image:: assets/hz_view.png
338
  :width: 100%
339
  :height: 300
340
  :alt: screenshot3
 
292
  ========
293
 
294
  deep_translatorの使用目的やpythonで翻訳をする方法を確認するために以下のmediumの記事を確認してください。
295
+
296
  https://medium.com/@nidhalbacc/how-to-translate-text-with-python-9d203139dcf5
297
 
298
  ===========================
299
  スマートフォンアプリ Translator++
300
  ===========================
301
 
302
+ .. image:: ../../assets/app-icon.png
303
  :width: 100
304
  :alt: Icon of the app
305
 
 
320
 
321
  - スマートフォン :
322
 
323
+ .. image:: ../../assets/translator1.jpg
324
  :width: 30%
325
  :height: 200
326
  :alt: screenshot1
327
+ .. image:: ../../assets/translator2.jpg
328
  :width: 30%
329
  :height: 200
330
  :alt: screenshot2
331
+ .. image:: ../../assets/spinner.jpg
332
  :width: 30%
333
  :height: 200
334
  :alt: spinner
335
 
336
  - タブレット:
337
 
338
+ .. image:: ../../assets/hz_view.png
339
  :width: 100%
340
  :height: 300
341
  :alt: screenshot3
docs/ja/history.rst ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+
2
+
docs/ja/index.rst CHANGED
@@ -1,8 +1,12 @@
 
 
1
  deep_translatorのドキュメントへようこそ!
2
  ======================================
3
 
 
 
4
  .. toctree::
5
- :maxdepth: 2
6
  :caption: Contents:
7
 
8
  readme
 
1
+ .. _jadoc:
2
+
3
  deep_translatorのドキュメントへようこそ!
4
  ======================================
5
 
6
+ 違う言語でドキュメントを読みたい場合は :doc:`こちら<../other_lang>`.
7
+
8
  .. toctree::
9
+ :maxdepth: 2
10
  :caption: Contents:
11
 
12
  readme
docs/ja/modules.rst ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ deep_translator
2
+ ===============
3
+
4
+ .. toctree::
5
+ :maxdepth: 4
6
+
7
+ deep_translator
docs/other_lang.rst ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ Choose Languages
2
+ ===============
3
+
4
+ English
5
+ --------------
6
+ :doc:`English Documents<index>`
7
+
8
+ 日本語
9
+ --------------
10
+ :doc:`日本語版ドキュメント<ja/index>`