Mozilla's Localization Platform
Перейти к файлу
Eemeli Aro b2d4cbc728
Replace react-content-marker with a regexp (#3014)
Fixes #2515
Fixes #3006

Ports all the rules from react-content-marker into an inlined implementation. Results are cleaner, more efficient, and less buggy. Also, for placeholders we now match the rules used in the editor highlighting.

In a few places the rules are relaxed a bit and/or made more sane, but these are unlikely to actually effect real-world messages noticably. Except where they fix current bugs. Also, the placeholder rules now match the editor.
2023-11-10 01:58:47 +01:00
.github/workflows Improve Pontoon RTL editing (#2926) 2023-10-12 16:57:16 +02:00
bin Add script to generate source-only repos for Thunderbird and Seamonkey (#2656) 2022-11-09 12:44:48 +01:00
docker Pretranslation monitoring: Insights page (#2932) 2023-08-18 16:16:24 +02:00
docs Update Firefox Accounts references to Mozilla Accounts (#2984) 2023-10-12 09:45:35 +02:00
error_pages Upgrade jQuery to v3.6.1 (#2647) 2022-11-25 10:37:20 +01:00
media Fix bug 1699381: make the media folder configurable (#1901) 2021-03-19 19:39:54 +01:00
pontoon Optimize and fix the /insights page (#3007) 2023-11-10 00:16:34 +01:00
requirements Update to compare-locales 9.0.2 (#2962) 2023-09-18 19:49:49 +02:00
specs Add theme selector mockups (#2971) 2023-10-03 13:57:00 +02:00
tag-admin Add light theme CSS file (#2997) 2023-10-26 18:09:28 +02:00
translate Replace react-content-marker with a regexp (#3014) 2023-11-10 01:58:47 +01:00
.codecov.yml Refactor the frontend build (#2437) 2022-03-02 16:10:42 +01:00
.dockerignore No bug - Enable running only changed frontend tests. (#1183) 2019-01-31 14:48:07 +01:00
.eslintignore Drop remnants of in-context localization (#2862) 2023-06-15 13:59:23 +03:00
.eslintrc.js Add `curly: error` to ESLint configs (#2452) 2022-04-25 17:16:01 +02:00
.flake8 Refactor the frontend build (#2437) 2022-03-02 16:10:42 +01:00
.git-blame-ignore-revs Update .git-blame-ignore-revs for #2438 (#2445) 2022-03-08 20:11:44 +01:00
.gitignore Refactor the frontend build (#2437) 2022-03-02 16:10:42 +01:00
.npmrc Refactor tag-admin to use functional components, stop testing its internals, replace webpack with rollup (#2432) 2022-02-21 19:28:25 +01:00
.prettierignore Drop remnants of in-context localization (#2862) 2023-06-15 13:59:23 +03:00
.pyup.yml Set `tabWidth: 2` in Prettier config (#2438) 2022-03-03 09:46:35 +01:00
Aptfile Install mercirual via pip instead of apt. 2015-06-03 11:40:19 -07:00
CODE_OF_CONDUCT.md Set `tabWidth: 2` in Prettier config (#2438) 2022-03-03 09:46:35 +01:00
CONTRIBUTING.rst Update "master" references to "main" (#2963) 2023-09-19 13:39:03 +02:00
LICENSE Fix license 2012-07-27 09:17:04 -04:00
MANIFEST.in More pythonic Playdoh layout: no top level __init__, no apps 2012-01-09 16:57:49 -06:00
Makefile Foundations for HTML support in machinery/pretranslation (#2851) 2023-05-16 17:38:51 +03:00
Procfile Set up a dedicated dyno to schedule and execute Google AutoML Translate Warmup process (#2682) 2023-02-16 10:06:39 +01:00
README.md Update "master" references to "main" (#2963) 2023-09-19 13:39:03 +02:00
SECURITY.md Bug 1688846: Point contributing docs from Bugzilla to GitHub (#1999) 2021-09-13 21:05:29 +02:00
app.json Upgrade Postgres to version 15 in the app.json file (#2967) 2023-09-22 19:24:15 +02:00
babel.config.json Set `tabWidth: 2` in Prettier config (#2438) 2022-03-03 09:46:35 +01:00
contribute.json Set `tabWidth: 2` in Prettier config (#2438) 2022-03-03 09:46:35 +01:00
docker-compose.yml Set `tabWidth: 2` in Prettier config (#2438) 2022-03-03 09:46:35 +01:00
l10n.toml Refactor the frontend build (#2437) 2022-03-02 16:10:42 +01:00
manage.py Fix bug 1699455: Replace django-dotenv with python-dotenv (#1904) 2021-04-09 14:42:27 +02:00
package-lock.json Replace react-content-marker with a regexp (#3014) 2023-11-10 01:58:47 +01:00
package.json Drop remnants of in-context localization (#2862) 2023-06-15 13:59:23 +03:00
pytest.ini Bug 1627655: Update python testing dependencies (#1697) 2020-10-10 08:19:06 +02:00
requirements.txt Bug 1541252: Fix deployment on Heroku by removing requirements/python2.txt (#1309) 2019-06-07 08:54:02 +02:00
runtime.txt Update python to 3.9.18 (#2948) 2023-09-01 16:23:51 +02:00
setup.cfg Fix bug 1455246 - Improve pytest environment. (#972) 2018-06-04 16:18:39 +04:00
setup.py Enabled support for pyflakes in pontoon. 2015-10-13 21:48:12 +02:00

README.md

Pontoon — Mozilla's Localization Platform

Pontoon is a translation management system used and developed by the Mozilla localization community. It specializes in open source localization that is driven by the community and uses version-control systems for storing translations.

📚 Documentation

Installing Pontoon

If you are looking to host your own instance of Pontoon, there are several ways to do so. To deploy Pontoon to Heroku without leaving your web browser, click the Deploy to Heroku button below.

Deploy

Alternatively, you can deploy to Heroku manually by following our Deployment Documentation.

We don't have documentation for deploying to other platforms yet, so we recommend that you read the previously linked documentation and adapt it for your needs.

If you only want to deploy a local instance of Pontoon, for development or testing for example, see our Developer Setup using Docker. Please note that you should not deploy a production instance with Docker.

Contributing to Pontoon

Do you want to help us make Pontoon better? We are very glad!

To help you get started with contributing, we wrote The Guide to your First Contribution to Pontoon. It contains all the information you need to know to install Pontoon, populate its database, run tests, and send your contribution.

If you want to go further, you can:

License

This software is licensed under the New BSD License. For more information, read LICENSE.

Screenshots

Teams dashboard

Translation app