DependencyTrack / dependency-track

Dependency-Track is an intelligent Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain.
https://dependencytrack.org/
Apache License 2.0
2.57k stars 540 forks source link

chinese support #1624

Open k4n5ha0 opened 2 years ago

k4n5ha0 commented 2 years ago

Current Behavior:

input chinese infomation to project,it's shows ??? like below image image

Proposed Behavior:

support chinese =)

stevespringett commented 2 years ago

I think this may be a database issue. The embedded H2 database seems to work just fine.

Screen Shot 2022-05-16 at 1 27 12 PM

I would check the database collation configuration on the database and see if there's an issue there.

Related to: https://github.com/DependencyTrack/frontend/pull/69

FYI, Someone tried to add Chinese support to the frontend. They spent a lot of time translating it and closed their own PR for unknown reasons.

k4n5ha0 commented 2 years ago

my docker-compose.yml is like this [linadmin@host-X DependencyTrack]$ cat docker-compose.yml version: '3.7'

volumes: dependency-track:

services: dtrack-apiserver: image: dependencytrack/apiserver environment:

The Dependency-Track container can be configured using any of the

# available configuration properties defined in:
# https://docs.dependencytrack.org/getting-started/configuration/
# All properties are upper case with periods replaced by underscores.
#
# Database Properties
- ALPINE_DATABASE_MODE=external
- ALPINE_DATABASE_URL=jdbc:sqlserver://172.30.1.1:1433;databaseName=dtrack;sendStringParametersAsUnicode=false
- ALPINE_DATABASE_DRIVER=com.microsoft.sqlserver.jdbc.SQLServerDriver
- ALPINE_DATABASE_USERNAME=123
- ALPINE_DATABASE_PASSWORD=123
- ALPINE_DATABASE_POOL_ENABLED=true
- ALPINE_DATABASE_POOL_MAX_SIZE=20
- ALPINE_DATABASE_POOL_MIN_IDLE=10
- ALPINE_DATABASE_POOL_IDLE_TIMEOUT=300000
- ALPINE_DATABASE_POOL_MAX_LIFETIME=600000