Moved to https://source.joinmastodon.org/mastodon/joinmastodon
Eugen Rochko 8071274083 New translations en.json (Thai) | 1 anno fa | |
---|---|---|
.github | 1 anno fa | |
components | 1 anno fa | |
data | 1 anno fa | |
locales | 1 anno fa | |
pages | 1 anno fa | |
public | 1 anno fa | |
styles | 1 anno fa | |
types | 1 anno fa | |
utils | 1 anno fa | |
.dockerignore | 1 anno fa | |
.editorconfig | 2 anni fa | |
.eslintrc.json | 2 anni fa | |
.gitignore | 1 anno fa | |
.nvmrc | 1 anno fa | |
.prettierignore | 2 anni fa | |
.prettierrc | 1 anno fa | |
Dockerfile | 1 anno fa | |
README.md | 2 anni fa | |
crowdin.yml | 1 anno fa | |
linear.mjs | 1 anno fa | |
next-env.d.ts | 2 anni fa | |
next.config.js | 1 anno fa | |
package.json | 1 anno fa | |
patreon.mjs | 1 anno fa | |
postcss.config.js | 2 anni fa | |
tailwind.config.js | 1 anno fa | |
tsconfig.json | 2 anni fa | |
yarn.lock | 1 anno fa |
Informational site for the Mastodon project
Submit translations here: https://crowdin.com/project/joinmastodon
yarn
yarn run dev
See /package.json
for more scripts.
Submit translations at Crowdin.
Translations are managed via Crowdin and distributed with react-intl. The basic translation workflow is:
<FormattedMessage>
componentlocales/en.json
by running yarn extract
locales/en.json
) are made available for translation for other languages. Any new translated messages are downloaded back to the repo into corresponding locale files (e.g. locales/es.json
).getStaticProps()
(example).Localized versions of each page are hosted at dedicated URLs, making it easier for web crawling in users' preferred language. (docs)
Raster images should be added at the maximum resolution they'll be displayed at. If art direction is not required, mobile images will be generated automatically. (docs)
Next.js should be hosted using a Node.js server. (see instructions). While it absolutely can exported to static HTML,
are the primary benefits of a Node.js server for this project.
For now, Node 16 LTS is recommended for building the site until support for Node 18 is provided by Squoosh.