Skip to content

Commit

Permalink
Added Greek language support (#1106)
Browse files Browse the repository at this point in the history
  • Loading branch information
sidkosmas committed Apr 18, 2024
1 parent fea94c9 commit c47471b
Show file tree
Hide file tree
Showing 18 changed files with 2,884 additions and 1 deletion.
Expand Up @@ -6,6 +6,7 @@ import BG_Table from '../examples/localization-i18n-bg';
import CS_Table from '../examples/localization-i18n-cs';
import DA_Table from '../examples/localization-i18n-da';
import DE_Table from '../examples/localization-i18n-de';
import EL_Table from '../examples/localization-i18n-el';
import EN_Table from '../examples/localization-i18n-en';
import ES_Table from '../examples/localization-i18n-es';
import ET_Table from '../examples/localization-i18n-et';
Expand Down Expand Up @@ -47,6 +48,7 @@ const supportedLocales = [
'cs',
'da',
'de',
'el',
'en',
'es',
'et',
Expand Down Expand Up @@ -125,6 +127,7 @@ const LocaleExamples = () => {
{currentLocale === 'cs' && <CS_Table />}
{currentLocale === 'da' && <DA_Table />}
{currentLocale === 'de' && <DE_Table />}
{currentLocale === 'el' && <EL_Table />}
{currentLocale === 'en' && <EN_Table />}
{currentLocale === 'es' && <ES_Table />}
{currentLocale === 'et' && <ET_Table />}
Expand Down
@@ -0,0 +1,17 @@
import { SourceCodeSnippet } from '../../components/mdx/SourceCodeSnippet';
import Example from './sandbox/src/TS';
const JS = require('!!raw-loader!./sandbox/src/JS.js').default;
const TS = require('!!raw-loader!./sandbox/src/TS.tsx').default;

const ExampleTable = () => {
return (
<SourceCodeSnippet
Component={Example}
javaScriptCode={JS}
typeScriptCode={TS}
tableId="localization-i18n-el"
/>
);
};

export default ExampleTable;
@@ -0,0 +1,5 @@
node_modules
.DS_Store
dist
dist-ssr
*.local
@@ -0,0 +1,6 @@
# Example

To run this example:

- `npm install` or `yarn`
- `npm run start` or `yarn start`
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Material React Table Example</title>
</head>

<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>

0 comments on commit c47471b

Please sign in to comment.