Giter Site home page Giter Site logo

Comments (31)

AndyScherzinger avatar AndyScherzinger commented on June 11, 2024

Is already setup since couple of days!

http://www.getlocalization.com/andlyticsproject/files/

from andlytics.

fda77 avatar fda77 commented on June 11, 2024

Maybe we should place the link somwhere else?

And how to deal with new transslations? In https://github.com/fda77/andlytics/commit/7dfb0db70962e6509f74d1fe754feb1a68ed78bd i added only german and english strings. Is it better to add english to all missing translations?

from andlytics.

AndyScherzinger avatar AndyScherzinger commented on June 11, 2024

Yes we should but I don't have the time right know so properly setup the necessary wiki pages... :(

Dealing with translations is easy... ;)
New String need to be added to the English XML files and be pushed to the master. The master repo has a commit hook which then updates the English version (=master for translations) to getLocalization.com.

String-items don't need to be added to other language files. This leads to lint warnings, but that's about it. If an String-item is missing in string.xml Android transparently loads the corresponding string from the default language (English). So seeing lint warning, that a string is missing in one of the translations just means it hasn't been translated yet.

So all languages should be maintained via getLocalization.com except English. When a translation is complete, one of us exports the whole project on getLocatization.com, overrides his local checkout and pushes the new complete translations to the master.

It should be done this way in my opinion, else we will get a problem with keeping the translations in sync if we maintan in these in two different places at the same time...

from andlytics.

fda77 avatar fda77 commented on June 11, 2024

This leads to lint warnings,
With new Eclipse 4.2 it is an error ...

The other sounds complicated. I will try getLocalization.com

from andlytics.

AndyScherzinger avatar AndyScherzinger commented on June 11, 2024

Haven't made the switch from 3.7 to 4.2 (planned though :)

okay, so the process would be to add the english one to prevent the errors...I guess

from andlytics.

willlunniss avatar willlunniss commented on June 11, 2024

You can adjust lint settings to be error/warning/ignored so you should be able to get around the problem on 4.2 and tbh I'm surprised it is an error now as some strings simply shouldn't be translated such as names.

As @AndyScherzinger said, always ensure that every string is in the main values/strings.xml file, if they are missing from values-xx/strings.xml then android will revert to the default ones. getLocalization will automatically fill in missing translations with english ones (I guess because some platforms other than android don't support automatic fall back), so if you really want to have all strings in each file you can add the new strings to values/strings.xml then copy the updated translations from getLocalization and commit them. But that shouldn't be needed.

from andlytics.

fda77 avatar fda77 commented on June 11, 2024

offtopic: I added for the eclipse update http://download.eclipse.org/releases/juno and http://download.eclipse.org/tools/cdt/releases/juno, then "check updates". Works smoothly for windows, but not for linux

from andlytics.

vkotovv avatar vkotovv commented on June 11, 2024

Hey guys, I've created and implemented a Russian translation on GetLocalization. It currently has validation status here: http://www.getlocalization.com/andlyticsproject/ Could you please add it to the project? Thanks in advance.

from andlytics.

fda77 avatar fda77 commented on June 11, 2024

Thanks for the hint and translation. AndyScherzinger will integrate it shortly.
Btw, Catalan seems be done too

from andlytics.

AndyScherzinger avatar AndyScherzinger commented on June 11, 2024

@fda77 catalan is already in committed to the master
@vkotovv thanks, will try to find the time this evening to add it! Appreciate your help!

from andlytics.

AndyScherzinger avatar AndyScherzinger commented on June 11, 2024

russian translation added to master.

from andlytics.

fda77 avatar fda77 commented on June 11, 2024

@AndyScherzinger could you please copy german & english .xml files to www.getlocalization.com? The import&export strings are missing. Don't know what else was changed

from andlytics.

AndyScherzinger avatar AndyScherzinger commented on June 11, 2024

I see what I can do, but at least the english ones should be updated via
commit hock. The germans unfortunately can't since getLocalization just
let's you configure one master file, which in this case is english... :(

@AndyScherzinger could you please copy german & english .xml files to
www.getlocalization.com? The import&export strings are missing. Don't know
what else was changed


Reply to this email directly or view it on GitHub:
#73 (comment)

from andlytics.

fda77 avatar fda77 commented on June 11, 2024

Okay, i found & fixed what me confused: https://github.com/fda77/andlytics/commit/5b4f87622d26c07ec0f2a858e0195ba4a7add759
Finally it was me who caused it :)

EDIT: The import&exports strings are still missing. e.g. the 2 starting with "No app selected"!?
It's late. n8

from andlytics.

AndyScherzinger avatar AndyScherzinger commented on June 11, 2024

Which ones are missing? just checked the German and the English master and the both have the same string items?!

EDIT: Just imported German into getLocalization and all Strings are translated :) So it should be fine

from andlytics.

fda77 avatar fda77 commented on June 11, 2024

Can you find these?
<string name="import_">Import</string> <string name="import_no_sdcard">SD-Card not mounted, can\'t import!</string> <string name="import_no_app">No app selected, can\'t import!</string> <string name="importing">Importing</string> <string name="import_started">Import started</string> <string name="import_finished">Import finished</string> <string name="import_error">Error during import</string> <string name="export_">Export</string> <string name="export_no_sdcard">SD-Card not mounted, can\'t export!</string> <string name="export_no_app">No app selected, can\'t export!</string> <string name="export_started">Export started</string> <string name="export_finished">Export finished</string> <string name="export_saved_to">Saved to</string>

(3c25413)

from andlytics.

AndyScherzinger avatar AndyScherzinger commented on June 11, 2024

yes, but only in the English and German files (!)

Should they be in or out?

from andlytics.

fda77 avatar fda77 commented on June 11, 2024

In, that are new translations, see my link. I thought new translations should not be inserted into foreign languages as english

from andlytics.

AndyScherzinger avatar AndyScherzinger commented on June 11, 2024

My guess was right then :) already updated it on getLocalization.com

To your question...yes and no...

The master (Englisch) is updated automatically via github commit hook, while the German (and any other) isn't.

So usually the process should be to update Englisch XMLs via github and maintain anything else via getLocalization. I then export the files, add them to my clone und commit them back to the master. This way translations stay in sync.

New translations aren't automatically inserted with the English version. They are missing until someone translates them, which is fine since Android will do a fallback to the English item at runtime. This leads to mixed UIs in case of unfinished translations. Guess we have to live with that...

from andlytics.

willlunniss avatar willlunniss commented on June 11, 2024

Just to add, if you download an incomplete translation from getLocalisation, it will fill in any missing translations with the english version. I guess this is because other platforms do not support the automatic fall back.

from andlytics.

AndyScherzinger avatar AndyScherzinger commented on June 11, 2024

Ouh,... didn't realize it is doing that... Which it clearly shouldn't since the files are configured as "Android", so getLocalization shouldn't do that....

from andlytics.

AndyScherzinger avatar AndyScherzinger commented on June 11, 2024

@vkotovv would you mind updating the translation?

Open:
Catalan
Dutch
Italian
Russian
Spanish

from andlytics.

vkotovv avatar vkotovv commented on June 11, 2024

@AndyScherzinger russian update is done

from andlytics.

AndyScherzinger avatar AndyScherzinger commented on June 11, 2024

Thanks @vkotovv ! Highly appreciate your help!

from andlytics.

fda77 avatar fda77 commented on June 11, 2024

@ALL: What about a popup which is show only once to the user and tells that a translation to his own language could be done at getLocalization?

from andlytics.

AndyScherzinger avatar AndyScherzinger commented on June 11, 2024

Sounds good, question is do we want to "annoy" the user with a pop-up. Could schedule something like this for a future release (probably not the next one, so we can get a release done in the next couple of days...)

from andlytics.

fda77 avatar fda77 commented on June 11, 2024

in the next couple of days
After so much changes we should take some time for a release on the market

from andlytics.

AndyScherzinger avatar AndyScherzinger commented on June 11, 2024

true... depends on how you define couple of days ;) might be some weeks ;)
Back to being serious I totally agree that we need thorough testing. I use the master on one phone and the market release on the other playing around with it on a daily basis. Need to do some testing to see if I can get the app to crash with NPEs, FC and so on...

from andlytics.

AndyScherzinger avatar AndyScherzinger commented on June 11, 2024

files updated!

from andlytics.

willlunniss avatar willlunniss commented on June 11, 2024

getLocalization seems to be out of sync with the changes in the master. Lots of the translations which have already been done are missing for the old lower case version which don't exist anymore. Can you have a look into this.

You may need to upload the files from github and override what is in getLocalization to fix it under the files tab.

from andlytics.

AndyScherzinger avatar AndyScherzinger commented on June 11, 2024

I just checked and had to "revisit" 92 changes (I always have to check, when the yource changes...) Should be fine now...

from andlytics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.