Commit Graph

155 Commits

Author SHA1 Message Date
4085151f80 fix: merge common and web po files (#1563) 2024-12-31 17:20:58 +11:00
cfe7b3a51f fix: remove marketing (#1562) 2024-12-31 15:45:22 +11:00
98b2da5018 v1.9.0-rc.5 2024-12-26 13:41:04 +11:00
22c9fb777b fix: perf improvements 2024-12-18 15:01:57 +11:00
2da051a7f9 v1.9.0-rc.4 2024-12-18 08:14:50 +11:00
861e9c976b v1.9.0-rc.3 2024-12-16 09:35:33 +11:00
a21ee2cea6 v1.9.0-rc.2 2024-12-13 15:16:26 +11:00
c9fe134852 v1.9.0-rc.1 2024-12-12 10:31:44 +11:00
ed862413b1 v1.9.0-rc.0 2024-12-11 09:48:01 +11:00
9d02ab4a5e feat: open page api (#1419) 2024-12-10 21:19:05 +11:00
3b6b96f551 chore: remove redundant translations on upload (#1510)
## Description

Clean redundant translations by default.

This should stop the AI from doing strange things to commented out
translations.
2024-12-06 09:04:15 +11:00
0e7e9e17c9 v1.8.1 2024-12-05 13:57:05 +11:00
b3ccb3d26f v1.8.1-rc.9 2024-12-05 13:53:35 +11:00
0c53f5b061 v1.8.1-rc.8 2024-12-04 23:29:15 +11:00
5e08d0cffb v1.8.1-rc.7 2024-12-04 22:43:41 +11:00
a687064a42 v1.8.1-rc.6 2024-12-04 14:58:29 +11:00
4282a96ee7 v1.8.1-rc.5 2024-12-03 15:44:10 +11:00
9e8d0ac906 v1.8.1-rc.4 2024-12-02 22:07:31 +11:00
4326e27a2a v1.8.1-rc.3 2024-12-02 07:48:03 +11:00
87186e08b1 v1.8.1-rc.2 2024-11-29 15:09:03 +11:00
337bdb3553 v1.8.0-rc.1 2024-11-26 21:26:12 +11:00
dcb7c2436f fix: update prettier and tailwind 2024-11-26 11:47:28 +11:00
2e2bc8382f v1.8.1-rc.0 2024-11-20 23:02:32 +11:00
0eff336175 v1.8.0-rc.4 2024-11-19 16:44:25 +11:00
b0829e6cdf v1.8.0-rc.3 2024-11-16 09:23:05 +11:00
1c87cb1e0d v1.8.0-rc.2 2024-11-15 01:56:22 +11:00
19e23d8ef3 v1.8.0-rc.0 2024-11-08 23:09:56 +11:00
de880aa821 v1.7.2-rc.4 2024-11-05 13:50:01 +11:00
0cee07aed3 v1.7.2-rc.3 2024-10-31 15:33:03 +11:00
6020336792 v1.7.2-rc.2 2024-10-30 14:37:50 +11:00
b8310237e4 v1.7.2-rc.1 2024-10-23 13:28:54 +11:00
faf2bd5384 v1.7.2-rc.0 2024-10-08 21:56:44 +11:00
3da344fc5f v1.7.1-rc.3 2024-09-19 13:55:35 +10:00
9852e8971f v1.7.1-rc.2 2024-09-18 11:05:19 +10:00
4ce4ca3f34 v1.7.1-rc.1 2024-09-17 15:26:38 +10:00
7b06b68572 v1.7.1-rc.0 2024-09-10 23:15:02 +10:00
bfb09e7928 v1.7.0 2024-09-09 11:20:33 +10:00
d7e5aa1d26 v1.7.0-rc.5 2024-09-09 08:47:26 +10:00
921617b905 v1.7.0-rc.4 2024-09-05 10:46:23 +10:00
fd7c1fea1c chore: upgrade next (#1300) 2024-09-03 09:48:54 +10:00
5f4972d63b v1.7.0-rc.3 2024-09-03 09:27:51 +10:00
d599ab0630 v1.7.0-rc.2 2024-08-29 11:01:21 +10:00
81479b5b55 v1.7.0-rc.1 2024-08-28 18:00:43 +10:00
9638dfbf37 v1.7.0-rc.0 2024-08-28 14:31:30 +10:00
75c8772a02 feat: web i18n (#1286) 2024-08-27 20:34:39 +09:00
3b8914da83 v1.6.1-rc.1 2024-08-13 09:57:50 +10:00
ef3ecc33f1 v1.6.1-rc.0 2024-08-09 15:49:41 +10:00
1028184cf2 feat: initial i18n marketing implementation (#1223)
## Description

This PR introduces an initial i18n implementation using
[Lingui](https://lingui.dev).

We plan to combine it with Crowdin which will provide AI translations
when PRs are merged into main.

We plan to rollout i18n to only marketing for now, and will review how
everything goes before continuing to introduce it into the main
application.

## Reasoning

Why not use i18n-next or other alternatives?

To hopefully provide the best DX we chose Lingui because it allows us to
simply wrap text that we want to translate in tags, instead of forcing
users to do things such as:

- Update the text to `t('some-text')`
- Extract it to the file
- The text becomes a bit unreadable unless done correctly

Yes, plugins such as i18n-ally and Sherlock exist to simplify these
chores, but these require the user to be correctly setup in vscode, and
it also does not seem to provide the required configurations for our
multi app and multi UI package setup.

## Super simple demo

```html
// Before
<p>Text to update</p>

// After
<p>
  <Trans>Text to update</Trans>
</p>
```

## Related Issue

Relates to #885 but is only for marketing for now.

Another branch is slowly being prepared for the changes required for the
web application while we wait to see how this goes for marketing.

## Changes Made

Our configuration does not follow the general standard since we have
translations that cross:
- Web app
- Marketing app
- Constants package
- UI package

This means we want to separate translations into:
1. Marketing - Only translations extracted from `apps/marketing`
2. Web - Only translations extracted from `apps/web`
3. Common - Translations from `packages/constants` and `packages/ui`

Then we bundle, compile and minify the translations for production as
follows:
1. Marketing = Marketing + Common
2. Web = Web + Common

This allows us to only load the required translations when running each
application.

Overall general changes: 
- Add i18n to marketing
- Add core i18n setup to web
- Add pre-commit hook and GH action to extract any new <Trans> tags into
the translation files

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit


- **New Features**
- Added Romanian localization for marketing messages to improve
accessibility for Romanian-speaking users.
- Introduced German and English translation modules and PO files to
enhance the application's internationalization capabilities.
- Integrated internationalization support in the RootLayout component
for dynamic language settings based on server-side configurations.
- Enhanced the Enterprise component with translation support to adapt to
user language preferences.
- Added a `<meta>` tag to prevent Google from translating the page
content, supporting internationalization efforts.

- **Bug Fixes**
- Resolved minor issues related to the structure and accessibility of
translation files.

- **Chores**
- Updated project dependencies to support the new localization features
and ensure stability.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Lucas Smith <me@lucasjamessmith.me>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: github-actions <github-actions@documenso.com>
2024-07-26 14:56:42 +10:00
043aff3ca9 v1.6.0 2024-07-23 12:53:02 +10:00
8abc749dad fix: replace default favicon with documenso logo (#1237)
Adds the documenso favicon and touch icon to the documentation website
keeping it on brand with our other websites and applications.
2024-07-23 12:33:53 +10:00