Skip to content

Commit

Permalink
new: Add bn (Bengali) language. (#161)
Browse files Browse the repository at this point in the history
* Added bn (Bengali)

* added .d.ts files and added some mimssing translation in messsages.po

* messages.raw.json file

* added bn in constants.ts - fixing the failing build

* added shortcodes files and also added .d.ts files in it

* Added include the regex for bengali

* added unicode range for General Punctuation block
  • Loading branch information
sudipshil9862 authored Oct 3, 2023
1 parent e77bcea commit 84ea37c
Show file tree
Hide file tree
Showing 18 changed files with 110,035 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
strategy:
matrix:
locale:
- bn
- da
- de
- en-gb
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export const UNICODE_VERSIONS = [
];

export const SUPPORTED_LOCALES: Locale[] = [
'bn', // Bangla
'da', // Danish
'de', // German
'en', // English
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ export interface MessagesDataset {
}

export type Locale =
| 'bn'
| 'da'
| 'de'
| 'en-gb'
Expand Down
5 changes: 5 additions & 0 deletions packages/data/bn/compact.json.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { CompactEmoji } from 'emojibase';

declare const data: CompactEmoji[];

export default data;
Loading

0 comments on commit 84ea37c

Please sign in to comment.