cancel
Showing results for 
Search instead for 
Did you mean: 

language of repo and variable [solved]

redraccoon
Star Contributor
Star Contributor

Hello
i'm working with a 5.1 maven project (repo + share separated)

for a frameWork my repository's files 's names have to be in english

but, they are always in French …  it's only the repo so it's not linked to the explorator's language

picture : <ruby>http://www.noelshack.com/2016-31-1470145708-capture.png</ruby>

I tried to set the java options in the run.bat


<javascript>SET JAVA_OPTS=-Duser.country=US -Duser.region=US -Duser.language=en
ECHO JAVA_OPTS is set to '%JAVA_OPTS%'   </javascript>

In my opinion I may have to switch in the AlfrescoGlobalProperties this line

dir.root=${alfresco.data.location}‍



but I realized I don't understand where are stock all of this $variables ?

like


# Database connection properties
db.driver=${alfresco.db.datasource.class}
db.url=${alfresco.db.url}
db.username=${alfresco.db.username}
db.password=${alfresco.db.password}‍‍‍‍‍




can you tell me where are they stock ?


thanks

1 ACCEPTED ANSWER

douglascrp
World-Class Innovator
World-Class Innovator
Hello.

In order to fix that, you will have to start from scratch, I mean, you will have to remove the database and the content store.
After that, you have to start the project again using the language settings you have now.
The repository objects are created only the first startup, and that's why you are seeing everything in French even after you changed the start options, as the objects are already created.

You can try to execute a mvn clean -Ppurge to have all the date remove.
Remember to do a backup if you have anything important on this repository before that or you will lose everything.

View answer in original post

3 REPLIES 3

redraccoon
Star Contributor
Star Contributor
I can't see my topic in the forum ?

douglascrp
World-Class Innovator
World-Class Innovator
Hello.

In order to fix that, you will have to start from scratch, I mean, you will have to remove the database and the content store.
After that, you have to start the project again using the language settings you have now.
The repository objects are created only the first startup, and that's why you are seeing everything in French even after you changed the start options, as the objects are already created.

You can try to execute a mvn clean -Ppurge to have all the date remove.
Remember to do a backup if you have anything important on this repository before that or you will lose everything.

redraccoon
Star Contributor
Star Contributor

thank you it worked :]