2020-02-12 - Re: [GRASE-Hotspot] Re: Happy New Year! V4 Update
Header Data
From: kralan <kr***n@gmx.at>
Message Hash: c8594bba0bc670b9cde53f63b357b8ccf3a18f97b214577fe8e63bcfc9c3483d
Message ID: <d9bd3ba8-afd8-4367-851a-1ff173128664@grasehotspot.org>
Reply To: <CAESLx0LmYmAteuZ0ZFLSWj-N9cXCS+bCXP-_tBpGyFYaEBXYQg@mail.gmail.com>
UTC Datetime: 2020-02-12 08:27:11 UTC
Raw Date: Wed, 12 Feb 2020 07:27:11 -0800
Raw message
Hi Tim,
did you receive my translation files, a month ago?
Am Samstag, 4. Januar 2020 15:09:49 UTC+1 schrieb Tim White:
>
> Hi Alan
>
> Not at all! There are now 2 translation "formats", one for the JS and one
> for the normal messages. The main difference is that the JS ones have
> variables formatted with % signs (%remainingSessionTime%) while the
> normal ones are in ICU format and use curl brackets '{}' for variables
> ({updatedSettings}).
>
> Head to the translations folder on the Symfony 4 branch to download the en
> translation files to get started (
> https://github.com/GraseHotspot/grase-www-portal/tree/symfony4/files/usr/share/grase/symfony4/translations
> )
> Currently, these translation files aren't on Transifex, and there seems to
> be an issue with uploading them to use them. If you know of a good
> translation site that supports open source projects, and XLIFF 2.0 then let
> me know.
>
> We are also moving towards using ID's for messages, as this allows us to
> adjust the English message in the future, without invalidating the
> translations for all other languages. It appears to be a common "best
> practice" thing to do, so hopefully, it doesn't make your job of
> translating harder. As much as possible the ID's are sensible, for example,
> grase.menu.dhcp_leases means it's part of the Grase project, a menu item,
> called dhcp_leases. There are some JS ones that are English messages, and
> this is due to the fact they are error messages that come from Freeradius,
> and I've decieded to ensure that if they can't be translated for some
> reason, the error is still meaningful. (e.g. if you're accessing it via an
> API so the JS translation stuff isn't happening). If this changes in the
> future it'll be easy to update the translations to use new message IDs.
>
> Once you have some translation files (aptly named for your language), just
> create a merge request on Github, or email the files off-list if that's
> easier. I believe the translation engine still supports locale specific
> language translations (en-GB, en-AU, en-US) if required. I've also not yet
> written the code to select your language, so I'll definitely do that once I
> have at least 1 translation I can test with.
>
> I look forward to your translations.
>
> Regards
>
> Tim
>
> On Sat, 4 Jan 2020 at 21:05, kralan <kr***.@gmx.at <javascript:>> wrote:
>
>> Wow, great!
>>
>> Would it be too early to start testing and translating?
>> I keep the german translation updated and could also contribute to the
>> croatian translation.
>>
>> Alan
>>
>> --
>> This mailing list is for the Grase Hotspot Project
>> http://grasehotspot.org
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Grase Hotspot" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to gr***.@grasehotspot.org <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/e1486d8a-c504-4b7f-96f0-afc4841ba293%40grasehotspot.org
>> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/e1486d8a-c504-4b7f-96f0-afc4841ba293%40grasehotspot.org?utm_medium=email&utm_source=footer>
>> .
>>
>
Thread
- Return to December 2019
- Return to January 2020
-
Return to February 2020
- Return to “Francis Bogambo <bo***3@gmail.com>”
- Return to “Charles Chambers <cc***2@gmail.com>”
- Return to “kralan <kr***n@gmx.at>”
- Return to “shirish bandarkar <sh***r@gmail.com>”
- Return to “Stephan Stein <st***w@googlemail.com>”
- Return to “Tim <ti***8@gmail.com>”
-
Return to “VE2PKT <ve***t@gmail.com>”
- 2019-12-31 (Wed, 01 Jan 2020 14:07:07 +0800) - Happy New Year! V4 Update - Tim <ti***8@gmail.com>
- 2019-12-31 (Tue, 31 Dec 2019 23:25:10 -0700) - Re: [GRASE-Hotspot] Happy New Year! V4 Update - Charles Chambers <cc***2@gmail.com>
- 2020-01-01 (Wed, 01 Jan 2020 16:37:12 +0800) - Re: [GRASE-Hotspot] Happy New Year! V4 Update - Tim <ti***8@gmail.com>
- 2020-01-04 (Sat, 04 Jan 2020 05:05:36 -0800) - Re: Happy New Year! V4 Update - kralan <kr***n@gmx.at>
- 2020-01-04 (Sat, 04 Jan 2020 22:09:34 +0800) - Re: [GRASE-Hotspot] Re: Happy New Year! V4 Update - Tim <ti***8@gmail.com>
- 2020-01-06 (Mon, 06 Jan 2020 15:28:56 -0800) - Re: [GRASE-Hotspot] Re: Happy New Year! V4 Update - kralan <kr***n@gmx.at>
- 2020-02-12 (Wed, 12 Feb 2020 07:27:11 -0800) - Re: [GRASE-Hotspot] Re: Happy New Year! V4 Update - kralan <kr***n@gmx.at>
- 2020-01-04 (Sat, 04 Jan 2020 22:09:34 +0800) - Re: [GRASE-Hotspot] Re: Happy New Year! V4 Update - Tim <ti***8@gmail.com>
- 2020-01-12 (Sun, 12 Jan 2020 13:33:53 -0800) - Re: Happy New Year! V4 Update - kralan <kr***n@gmx.at>
- 2020-01-15 (Wed, 15 Jan 2020 02:02:56 -0800) - Re: Happy New Year! V4 Update - Stephan Stein <st***w@googlemail.com>
- 2020-02-01 (Sat, 01 Feb 2020 19:03:37 +0530) - Re: [GRASE-Hotspot] Re: Happy New Year! V4 Update - shirish bandarkar <sh***r@gmail.com>
- 2020-02-02 (Sun, 02 Feb 2020 15:23:47 +0800) - Re: [GRASE-Hotspot] Re: Happy New Year! V4 Update - Tim <ti***8@gmail.com>
- 2020-02-02 (Sun, 02 Feb 2020 18:10:02 +0530) - Re: [GRASE-Hotspot] Re: Happy New Year! V4 Update - shirish bandarkar <sh***r@gmail.com>
- 2020-02-02 (Sun, 02 Feb 2020 15:23:47 +0800) - Re: [GRASE-Hotspot] Re: Happy New Year! V4 Update - Tim <ti***8@gmail.com>
- 2020-02-01 (Sat, 01 Feb 2020 19:03:37 +0530) - Re: [GRASE-Hotspot] Re: Happy New Year! V4 Update - shirish bandarkar <sh***r@gmail.com>
- 2020-02-12 (Wed, 12 Feb 2020 09:43:30 -0800) - Re: Happy New Year! V4 Update - Stephan Stein <st***w@googlemail.com>
- 2020-02-12 (Wed, 12 Feb 2020 12:25:29 -0600) - Re: [GRASE-Hotspot] Re: Happy New Year! V4 Update - VE2PKT <ve***t@gmail.com>
- 2020-02-12 (Wed, 12 Feb 2020 12:06:48 -0800) - Re: [GRASE-Hotspot] Re: Happy New Year! V4 Update - Stephan Stein <st***w@googlemail.com>
- 2020-02-12 (Wed, 12 Feb 2020 12:25:29 -0600) - Re: [GRASE-Hotspot] Re: Happy New Year! V4 Update - VE2PKT <ve***t@gmail.com>
- 2020-02-20 (Thu, 20 Feb 2020 10:45:40 -0800) - Re: Happy New Year! V4 Update - Francis Bogambo <bo***3@gmail.com>
- 2020-02-28 (Fri, 28 Feb 2020 06:21:24 -0800) - Re: Happy New Year! V4 Update - Francis Bogambo <bo***3@gmail.com>
- 2019-12-31 (Tue, 31 Dec 2019 23:25:10 -0700) - Re: [GRASE-Hotspot] Happy New Year! V4 Update - Charles Chambers <cc***2@gmail.com>