Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: trying to fix i18n #958

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions crowdin.yaml

This file was deleted.

15 changes: 15 additions & 0 deletions website/crowdin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# put your Crowdin API token in $HOME/.crowdin.yml
# https://support.crowdin.com/configuration-file/#split-project-configuration-and-api-credentials
project_id: 391763
base_path: './'
preserve_hierarchy: true

files:
- source: '/i18n/en/**/*'
translation: '/i18n/%locale%/**/%original_file_name%'
- source: '/docs/**/*'
translation: '/i18n/%locale%/docusaurus-plugin-content-docs/current/**/%original_file_name%'
- source: '/versioned_docs/**/*'
translation: '/i18n/%locale%/docusaurus-plugin-content-docs/current/versioned_docs/**/%original_file_name%'
- source: '/blog/**/*'
translation: '/i18n/%locale%/docusaurus-plugin-content-blog/**/%original_file_name%'
24 changes: 12 additions & 12 deletions website/docs/api-line-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ All methods return a Promise.

<br />

<a id="reply-api" />
<a id="reply-api"></a>

### Reply API - [Official Docs](https://developers.line.me/en/reference/messaging-api/#send-reply-message)

Expand Down Expand Up @@ -686,7 +686,7 @@ client.replyFlex(REPLY_TOKEN, 'this is a flex', {

<br />

<a id="push-api" />
<a id="push-api"></a>

### Push API - [Official Docs](https://developers.line.me/en/reference/messaging-api/#send-push-message)

Expand Down Expand Up @@ -1266,7 +1266,7 @@ client.pushFlex(USER_ID, 'this is a flex', {

<br />

<a id="multicast-api" />
<a id="multicast-api"></a>

### Multicast API - [Official Docs](https://developers.line.me/en/reference/messaging-api/#send-multicast-messages)

Expand Down Expand Up @@ -1852,7 +1852,7 @@ client.multicastFlex([USER_ID], 'this is a flex', {

<br />

<a id="quick-replies" />
<a id="quick-replies"></a>

### Quick Replies - [Official Docs](https://developers.line.me/en/reference/messaging-api/#quick-reply)

Expand Down Expand Up @@ -1900,7 +1900,7 @@ context.replyText(

<br />

<a id="content-api" />
<a id="content-api"></a>

### Content API - [Official Docs](https://developers.line.me/en/reference/messaging-api/#get-content)

Expand All @@ -1923,7 +1923,7 @@ client.getMessageContent(MESSAGE_ID).then((buffer) => {

<br />

<a id="profile-api" />
<a id="profile-api"></a>

### Profile API - [Official Docs](https://developers.line.me/en/reference/messaging-api/#get-profile)

Expand Down Expand Up @@ -1951,7 +1951,7 @@ client.getUserProfile(USER_ID).then((profile) => {

<br />

<a id="grouproom-member-profile-api" />
<a id="grouproom-member-profile-api"></a>

### Group/Room Member Profile API - [Official Docs](https://developers.line.me/en/messaging-api/group-chats/#getting-a-user-profile-of-a-member-of-a-group-or-room)

Expand Down Expand Up @@ -2003,7 +2003,7 @@ client.getRoomMemberProfile(ROOM_ID, USER_ID).then((member) => {

<br />

<a id="grouproom-member-ids-api" />
<a id="grouproom-member-ids-api"></a>

### Group/Room Member IDs API - [Official Docs](https://developers.line.me/en/messaging-api/group-chats/#getting-user-ids-of-the-members-of-a-group-or-room)

Expand Down Expand Up @@ -2121,7 +2121,7 @@ client.getAllRoomMemberIds(ROOM_ID).then((ids) => {

<br />

<a id="leave-api" />
<a id="leave-api"></a>

### Leave API - [Official Docs](https://developers.line.me/en/messaging-api/group-chats/#leaving-a-group-or-room)

Expand Down Expand Up @@ -2157,7 +2157,7 @@ client.leaveRoom(ROOM_ID);

<br />

<a id="rich-menu-api" />
<a id="rich-menu-api"></a>

### Rich Menu API - [Official Docs](https://developers.line.me/en/reference/messaging-api/#rich-menu)

Expand Down Expand Up @@ -2443,7 +2443,7 @@ client.deleteDefaultRichMenu();

<br />

<a id="account-link-api" />
<a id="account-link-api"></a>

### Account Link API - [Official Docs](https://developers.line.me/en/reference/messaging-api/#account-link)

Expand All @@ -2466,7 +2466,7 @@ client.issueLinkToken(USER_ID).then((result) => {
});
```

<a id="liff-api" />
<a id="liff-api"></a>

### LINE Front-end Framework API - [Official Docs](https://developers.line.me/en/liff/reference/)

Expand Down
18 changes: 9 additions & 9 deletions website/docs/api-line-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ title: LineContext
- [Rich Menu API](#rich-menu-api)
- [Account Link API](#account-link-api)

<a id="reply-api" />
<a id="reply-api"></a>

### Reply API - [Official Docs](https://developers.line.me/en/docs/messaging-api/reference/#send-reply-message)

Expand Down Expand Up @@ -549,7 +549,7 @@ context.replyFlex('this is a flex', {

<br />

<a id="push-api" />
<a id="push-api"></a>

### Push API - [Official Docs](https://developers.line.me/en/docs/messaging-api/reference/#send-push-message)

Expand Down Expand Up @@ -1085,7 +1085,7 @@ context.pushFlex('this is a flex', {

<br />

<a id="quick-replies" />
<a id="quick-replies"></a>

### Quick Replies - [Official Docs](https://developers.line.me/en/reference/messaging-api/#quick-reply)

Expand Down Expand Up @@ -1132,7 +1132,7 @@ context.replyText(

<br />

<a id="profile-api" />
<a id="profile-api"></a>

### Profile API - [Official Docs](https://developers.line.me/en/docs/messaging-api/reference/#get-profile)

Expand All @@ -1156,7 +1156,7 @@ context.getUserProfile().then((profile) => {

<br />

<a id="grouproom-member-profile-api" />
<a id="grouproom-member-profile-api"></a>

### Group/Room Member Profile API - [Official Docs](https://developers.line.me/en/docs/messaging-api/group-chats/#getting-a-user-profile-of-a-member-of-a-group-or-room)

Expand All @@ -1183,7 +1183,7 @@ context.getMemberProfile(USER_ID).then((member) => {

<br />

<a id="grouproom-member-ids-api" />
<a id="grouproom-member-ids-api"></a>

### Group/Room Member IDs API - [Official Docs](https://developers.line.me/en/docs/messaging-api/group-chats/#getting-user-ids-of-the-members-of-a-group-or-room)

Expand Down Expand Up @@ -1239,7 +1239,7 @@ context.getAllMemberIds().then((ids) => {

<br />

<a id="leave-api" />
<a id="leave-api"></a>

### Leave API - [Official Docs](https://developers.line.me/en/docs/messaging-api/group-chats/#leaving-a-group-or-room)

Expand All @@ -1255,7 +1255,7 @@ context.leave();

<br />

<a id="rich-menu-api" />
<a id="rich-menu-api"></a>

### Rich Menu API - [Official Docs](https://developers.line.me/en/docs/messaging-api/reference/#rich-menu)

Expand Down Expand Up @@ -1306,7 +1306,7 @@ context.unlinkRichMenu();

<br />

<a id="account-link-api" />
<a id="account-link-api"></a>

### Account Link API - [Official Docs](https://developers.line.me/en/docs/messaging-api/reference/#account-link)

Expand Down
Loading