axel358 / smartdock

A user-friendly desktop mode launcher that offers a modern and customizable user interface
GNU General Public License v3.0
708 stars 51 forks source link

Have you planned to support multi-languages? #17

Closed 1457384613gh closed 1 year ago

1457384613gh commented 1 year ago

Have you planned to support multi-languages? I am ready to help to translate its UI into other languages. If having planned, give me a way to translate.

axel358 commented 1 year ago

@1457384613gh Sure, what language(s) would u be willing to translate to?

1457384613gh commented 1 year ago

secret! I will select by myself. Give the way first! If much much much, I will share with my friends to translate together and faster.

axel358 commented 1 year ago

@1457384613gh https://github.com/axel358/smartdock/blob/main/app/src/main/res/values/strings.xml

Translate this file and place your translation on a folder under https://github.com/axel358/smartdock/blob/main/app/src/main/res named values-{lang code}, for example spanish translations go in a folder called values-es https://github.com/axel358/smartdock/blob/main/app/src/main/res/values-es/strings.xml

1457384613gh commented 1 year ago

Pull request or Upload .xml files here?

ilhan-athn7 commented 1 year ago

@1457384613gh As you wish,

Pull requests are welcome, see examples here; https://github.com/axel358/smartdock/pulls?q=is%3Apr+is%3Aclosed

1457384613gh commented 1 year ago

Can I change the row order?

For example, turn

<string name=A>Big a</string> <string name=B>Big b</string>

into

<string name=B>Big b</string> <string name=A>Big a</string>

1457384613gh commented 1 year ago

Another question.

Can I add comments with #?

For example,

#Primary <string name=A>Big a</string> <string name=B>Big b</string> #Secondary <string name=1>one</string> <string name=2>two</string>

Xtr126 commented 1 year ago

Another question. Can I add comments with #?

In shell scripts you comment code with # but not everywhere. Use the menu option / keyboard shortcut or whatever your IDE provides to comment code. Refer documentation. This is how you are supposed to add comments in .xml

<string name="hello">Hello</string>
  <!-- comment here -->
<string name="bye">Bye</string>

And block comments:

<string name="me">Me</string>
<!-- 
 lines of 
 text  -->
<string name="you">You</string>
1457384613gh commented 1 year ago

I have pulled. Give me an apk to update to try what if.