Commit Graph

14 Commits

Author SHA1 Message Date
Anton Georgiev
12770eb75b chore: adjust transifex.sh for 2.4 locales 2021-07-30 23:46:58 +00:00
Ramón Souza
0105373cee
Applies changes needed to serve locale files as static content (#11234)
* moving locales folder to /public and applying changes needed to serve locales as static files

* better dev/prod check

* transifex pull script changes to match new locales directory + ignore locales with less than 100 lines

* fix local/prod locales path

* merge fallback messages

* applies new locale changes to legacy client

`bbb-html5.nginx` file content should also be changed to the following:

```
location /html5client/locales {
  alias /usr/share/meteor/bundle/programs/web.browser/app/locales;
}

location /html5client/compatibility {
  alias /usr/share/meteor/bundle/programs/web.browser/app/compatibility;
}

location /html5client/resources {
  alias /usr/share/meteor/bundle/programs/web.browser/app/resources;
}

location /html5client/svgs {
  alias /usr/share/meteor/bundle/programs/web.browser/app/svgs;
}

location /html5client/fonts {
  alias /usr/share/meteor/bundle/programs/web.browser/app/fonts;
}

location /html5client {
  # proxy_pass http://127.0.0.1:4100; # use for development
  proxy_pass http://poolhtml5servers; # use for production
  proxy_http_version 1.1;
  proxy_set_header Upgrade $http_upgrade;
  proxy_set_header Connection "Upgrade";
}
```
2021-03-11 06:42:41 -05:00
Anton Georgiev
c984967d7a Tackled numerous incorrect usage of newLine and doubleQuotes in Transifex 2020-09-10 03:02:19 +00:00
Anton Georgiev
94ab770c94 html5 locales on 2.2; updated script and files 2019-01-18 16:42:37 +00:00
Anton Georgiev
22a140e6eb do not pull the source file en.json 2018-01-25 11:41:25 -05:00
Anton Georgiev
b37d4528af unify indentation in transifex.sh 2018-01-25 11:02:15 -05:00
KDSBrowne
243272ad66
Change /transifex to /transifex.sh 2018-01-19 15:44:25 -05:00
KDSBrowne
2da53d92c4
fix indentation errors 2018-01-15 11:13:21 -05:00
KDSBrowne
4ede91b503 fix indentation and remove exit call 2018-01-15 07:58:23 -08:00
KDSBrowne
8542d45c88 edit script to skip any translation files with no translated strings 2018-01-11 10:50:35 -08:00
Maxim Khlobystov
6dd484db4f Indentations cleanup. 2017-10-21 21:30:24 -04:00
Maxim Khlobystov
a11e695756 Made sure the fix for escaping backslashes is applied when you run the Transifex for all locales at once. 2017-10-19 20:58:47 +00:00
Maxim Khlobystov
c44bd1c7fd Fixed the Transifex script to make sure it preserve escaping backslashes in the JSON file supplied by Transifex. 2017-10-19 20:24:36 +00:00
KDSBrowne
daa1439099 add script to pull translation from transifex 2017-08-02 11:11:33 -07:00